Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 209.1 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 65.31 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01885/0.3187, allocations: 15.34 MB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.3351, allocations: 10.77 MB / 1.309 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.3366, allocations: 87.19 kB / 1.309 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004591/0.3412, allocations: 1.771 MB / 1.311 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.3468, allocations: 1.851 MB / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.3489, allocations: 0.7586 MB / 1.313 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0039/0.3528, allocations: 2.769 MB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.3544, allocations: 1.203 MB / 1.317 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.3569, allocations: 1.726 MB / 1.319 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.3584, allocations: 1.117 MB / 1.32 GB, free: 6.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.3587, allocations: 156 kB / 1.32 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.3602, allocations: 0.7954 MB / 1.321 GB, free: 5.234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006063/0.3608, allocations: 0.6113 MB / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.3619, allocations: 0.9367 MB / 1.322 GB, free: 3.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.3655, allocations: 2.751 MB / 1.325 GB, free: 0.918 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3655, allocations: 0 / 1.325 GB, free: 0.918 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3655, allocations: 4 kB / 1.325 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.428e-05/0.3655, allocations: 0 / 1.325 GB, free: 0.9141 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003882/0.3694, allocations: 2.147 MB / 1.327 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3695, allocations: 8.031 kB / 1.327 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.3697, allocations: 194.3 kB / 1.327 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.3807, allocations: 2.117 MB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.3832, allocations: 1.186 MB / 1.331 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.3833, allocations: 90.67 kB / 1.331 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.3836, allocations: 115.9 kB / 1.331 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/0.3891, allocations: 2.634 MB / 1.333 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.3892, allocations: 11.89 kB / 1.333 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.3893, allocations: 47.98 kB / 1.333 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005979/0.3899, allocations: 198.1 kB / 1.334 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.3971, allocations: 2.795 MB / 1.336 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.412, allocations: 10.37 MB / 1.346 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006239/0.4183, allocations: 2.183 MB / 1.349 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.4212, allocations: 1.199 MB / 1.35 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.4213, allocations: 9 kB / 1.35 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4213, allocations: 43.56 kB / 1.35 GB, free: 6.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.324e-06/0.4213, allocations: 0 / 1.35 GB, free: 6.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.05698/0.4783, allocations: 16 MB / 1.365 GB, free: 6.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.4784, allocations: 64.72 kB / 1.365 GB, free: 6.633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.4801, allocations: 1.184 MB / 1.367 GB, free: 5.438 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.4803, allocations: 49.7 kB / 1.367 GB, free: 5.383 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.4809, allocations: 0.7529 MB / 1.367 GB, free: 4.625 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000558/0.4814, allocations: 0.5383 MB / 1.368 GB, free: 4.082 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/0.482, allocations: 287.5 kB / 1.368 GB, free: 3.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4822, allocations: 309.1 kB / 1.368 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/0.4857, allocations: 1.514 MB / 1.37 GB, free: 1.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/0.4894, allocations: 1.772 MB / 1.372 GB, free: 108 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/0.4967, allocations: 3.369 MB / 1.375 GB, free: 12.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4967, allocations: 0 / 1.375 GB, free: 12.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01356/0.5103, allocations: 5.215 MB / 1.38 GB, free: 7.387 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.5103, allocations: 12.12 kB / 1.38 GB, free: 7.375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5103, allocations: 8 kB / 1.38 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006971/0.5173, allocations: 1.884 MB / 1.382 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.5193, allocations: 415.3 kB / 1.382 GB, free: 5.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03187/0.5511, allocations: 23.33 MB / 1.405 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5537, allocations: 307.6 kB / 1.405 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.5539, allocations: 79.89 kB / 1.405 GB, free: 12.43 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.555, allocations: 455.5 kB / 1.406 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.5554, allocations: 182.9 kB / 1.406 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.5692, allocations: 5.253 MB / 1.411 GB, free: 6.492 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.5692, allocations: 12 kB / 1.411 GB, free: 6.48 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.5692, allocations: 20 kB / 1.411 GB, free: 6.461 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.5693, allocations: 7.969 kB / 1.411 GB, free: 6.453 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.5865, allocations: 7.332 MB / 1.418 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.5865, allocations: 4 kB / 1.418 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.5881, allocations: 351.4 kB / 1.419 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/0.5941, allocations: 1.712 MB / 1.42 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.5942, allocations: 47.91 kB / 1.42 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0303/0.6245, allocations: 22.49 MB / 1.442 GB, free: 5.477 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6245, allocations: 4 kB / 1.442 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.6371, allocations: 4.837 MB / 1.447 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.6383, allocations: 422.6 kB / 1.448 GB, free: 136 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.6387, allocations: 28 kB / 1.448 GB, free: 108 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.6408, allocations: 319.5 kB / 1.448 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/0.6413, allocations: 164.8 kB / 1.448 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.6415, allocations: 55.97 kB / 1.448 GB, free: 15.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001263/0.6428, allocations: 0.7899 MB / 1.449 GB, free: 14.79 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6428, allocations: 4 kB / 1.449 GB, free: 14.78 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002195/0.645, allocations: 0.6562 MB / 1.45 GB, free: 14.12 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/0.6577, allocations: 5.41 MB / 1.455 GB, free: 8.625 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01142/0.6692, allocations: 4.924 MB / 1.46 GB, free: 3.59 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6692, allocations: 0 / 1.46 GB, free: 3.59 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00736/0.6765, allocations: 3.277 MB / 1.463 GB, free: 216 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.6793, allocations: 0.5527 MB / 1.463 GB, free: 15.67 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04987/0.7291, allocations: 21.79 MB / 1.485 GB, free: 9.398 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.731, allocations: 1.568 MB / 1.486 GB, free: 7.789 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001521/0.7325, allocations: 390.4 kB / 1.487 GB, free: 7.402 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.7335, allocations: 0.6554 MB / 1.487 GB, free: 6.746 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/0.7335, allocations: 0 / 1.487 GB, free: 6.746 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/0.8698, allocations: 60.77 MB / 1.547 GB, free: 10.64 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.84/22.71, allocations: 10.5 kB / 1.547 GB, free: 10.63 MB / 1.248 GB " [Timeout remaining time 277] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 29.325823887018487]