Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001949/0.001949, allocations: 114.5 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.002471/0.002471, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 8.02 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.731/2.731, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002031/0.002031, allocations: 68.73 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007491/0.3063, allocations: 5.229 MB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.4833, allocations: 154.2 MB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.4841, allocations: 23.81 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.4848, allocations: 210.1 kB / 1.439 GB, free: 11.51 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.4868, allocations: 0.5778 MB / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.4889, allocations: 0.8755 MB / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.4907, allocations: 1.459 MB / 1.442 GB, free: 8.598 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.4914, allocations: 418.2 kB / 1.442 GB, free: 8.164 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007038/0.4921, allocations: 0.5217 MB / 1.443 GB, free: 7.641 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.4928, allocations: 0.5173 MB / 1.443 GB, free: 7.121 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4929, allocations: 124 kB / 1.444 GB, free: 7 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.4939, allocations: 0.5229 MB / 1.444 GB, free: 6.477 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.4942, allocations: 307 kB / 1.444 GB, free: 6.176 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.4948, allocations: 0.5829 MB / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.4969, allocations: 1.72 MB / 1.447 GB, free: 3.863 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4969, allocations: 0 / 1.447 GB, free: 3.863 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4969, allocations: 0 / 1.447 GB, free: 3.863 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.497, allocations: 0 / 1.447 GB, free: 3.863 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00272/0.4997, allocations: 1.459 MB / 1.448 GB, free: 2.371 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4997, allocations: 8.031 kB / 1.448 GB, free: 2.363 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.4999, allocations: 139.6 kB / 1.448 GB, free: 2.219 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.5013, allocations: 236 kB / 1.448 GB, free: 1.988 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5026, allocations: 0.7219 MB / 1.449 GB, free: 1.238 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.5026, allocations: 66 kB / 1.449 GB, free: 1.172 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5028, allocations: 87.98 kB / 1.449 GB, free: 1.086 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5043, allocations: 0.934 MB / 1.45 GB, free: 116 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5044, allocations: 3.938 kB / 1.45 GB, free: 112 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.5044, allocations: 39.98 kB / 1.45 GB, free: 72 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.5045, allocations: 27.98 kB / 1.45 GB, free: 44 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.5063, allocations: 1.12 MB / 1.451 GB, free: 14.92 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.5106, allocations: 2.697 MB / 1.454 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.5121, allocations: 0.7759 MB / 1.455 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.5126, allocations: 278.7 kB / 1.455 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.5127, allocations: 28.62 kB / 1.455 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008672/0.5136, allocations: 0.4971 MB / 1.456 GB, free: 10.51 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.194e-06/0.5136, allocations: 0 / 1.456 GB, free: 10.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003237/0.5168, allocations: 1.142 MB / 1.457 GB, free: 9.359 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5169, allocations: 188.6 kB / 1.457 GB, free: 9.133 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.5178, allocations: 0.6723 MB / 1.458 GB, free: 8.449 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.5179, allocations: 41.7 kB / 1.458 GB, free: 8.402 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.5183, allocations: 421 kB / 1.458 GB, free: 7.984 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.5185, allocations: 277.6 kB / 1.458 GB, free: 7.711 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.5187, allocations: 154.6 kB / 1.458 GB, free: 7.551 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5189, allocations: 390.8 kB / 1.459 GB, free: 7.16 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.5195, allocations: 249.9 kB / 1.459 GB, free: 6.918 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.5201, allocations: 358.6 kB / 1.459 GB, free: 6.543 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5212, allocations: 0.5838 MB / 1.46 GB, free: 5.945 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5212, allocations: 4 kB / 1.46 GB, free: 5.941 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00196/0.5231, allocations: 0.8256 MB / 1.461 GB, free: 5.105 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5231, allocations: 8.094 kB / 1.461 GB, free: 5.098 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5231, allocations: 0 / 1.461 GB, free: 5.098 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.5238, allocations: 84.77 kB / 1.461 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.5244, allocations: 159.8 kB / 1.461 GB, free: 4.855 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.5266, allocations: 1.53 MB / 1.462 GB, free: 3.207 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/0.5273, allocations: 87.45 kB / 1.463 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.5274, allocations: 31.97 kB / 1.463 GB, free: 3.09 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.5279, allocations: 267.9 kB / 1.463 GB, free: 2.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.5281, allocations: 95.39 kB / 1.463 GB, free: 2.727 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.5305, allocations: 1.066 MB / 1.464 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5305, allocations: 16 kB / 1.464 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5305, allocations: 0 / 1.464 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.5305, allocations: 11.91 kB / 1.464 GB, free: 1.621 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.5318, allocations: 0.9026 MB / 1.465 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5318, allocations: 0 / 1.465 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.5325, allocations: 151.8 kB / 1.465 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.5329, allocations: 76.72 kB / 1.465 GB, free: 460 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.533, allocations: 23.98 kB / 1.465 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.535, allocations: 1.559 MB / 1.467 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.535, allocations: 0 / 1.467 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.5379, allocations: 1.344 MB / 1.468 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.5384, allocations: 199.1 kB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5386, allocations: 27.94 kB / 1.468 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.5392, allocations: 63.98 kB / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5394, allocations: 72.86 kB / 1.468 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.5394, allocations: 35.98 kB / 1.468 GB, free: 12.99 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006829/0.5401, allocations: 487 kB / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5401, allocations: 0 / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000925/0.541, allocations: 331.1 kB / 1.469 GB, free: 12.19 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004978/0.546, allocations: 2.399 MB / 1.471 GB, free: 9.949 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.5479, allocations: 0.7845 MB / 1.472 GB, free: 9.148 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5479, allocations: 0 / 1.472 GB, free: 9.148 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.5489, allocations: 0.4885 MB / 1.473 GB, free: 8.648 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5503, allocations: 306.7 kB / 1.473 GB, free: 8.367 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.5623, allocations: 6.454 MB / 1.479 GB, free: 1.758 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.563, allocations: 1.043 MB / 1.48 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008994/0.5639, allocations: 266.8 kB / 1.481 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.5645, allocations: 403.3 kB / 1.481 GB, free: 24 kB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/0.5645, allocations: 0 / 1.481 GB, free: 24 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/0.6337, allocations: 22.9 MB / 1.503 GB, free: 9.355 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.45, allocations: 6.297 kB / 1.503 GB, free: 9.352 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 22.04350841487758]