Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001217/0.001217, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001302/0.001302, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.125/3.125, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",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: 66.25 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007735/0.3454, allocations: 5.346 MB / 1.351 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.5269, allocations: 154.2 MB / 1.501 GB, free: 320 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.528, allocations: 23.81 kB / 1.501 GB, free: 296 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.5289, allocations: 206.1 kB / 1.501 GB, free: 88 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.5313, allocations: 0.5909 MB / 1.502 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.534, allocations: 0.8921 MB / 1.503 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.5362, allocations: 1.482 MB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5373, allocations: 430.8 kB / 1.505 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009982/0.5383, allocations: 0.5334 MB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009513/0.5392, allocations: 0.529 MB / 1.506 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.5395, allocations: 131.9 kB / 1.506 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.5408, allocations: 0.5113 MB / 1.506 GB, free: 10.97 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.5412, allocations: 315 kB / 1.507 GB, free: 10.66 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009506/0.5422, allocations: 0.6024 MB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.5453, allocations: 1.743 MB / 1.509 GB, free: 8.309 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5453, allocations: 0 / 1.509 GB, free: 8.309 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5453, allocations: 0 / 1.509 GB, free: 8.309 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.5454, allocations: 0 / 1.509 GB, free: 8.309 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003651/0.549, allocations: 1.486 MB / 1.51 GB, free: 6.781 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5491, allocations: 8.031 kB / 1.51 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.499e-05/0.5491, allocations: 26.19 kB / 1.51 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002727/0.5494, allocations: 143.7 kB / 1.511 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.5511, allocations: 236 kB / 1.511 GB, free: 6.371 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5527, allocations: 0.7333 MB / 1.511 GB, free: 5.609 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.5528, allocations: 66 kB / 1.512 GB, free: 5.543 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.553, allocations: 91.97 kB / 1.512 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.555, allocations: 0.9535 MB / 1.513 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.5551, allocations: 0 / 1.513 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.5552, allocations: 36 kB / 1.513 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.5552, allocations: 28 kB / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.5573, allocations: 1.132 MB / 1.514 GB, free: 3.266 MB / 1.201 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.00511/0.5624, allocations: 2.816 MB / 1.516 GB, free: 324 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.5642, allocations: 0.7972 MB / 1.517 GB, free: 15.51 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.5648, allocations: 303.4 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-05/0.5649, allocations: 32.69 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.566, allocations: 0.4964 MB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 3.297e-06/0.566, allocations: 0 / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.00379/0.5698, allocations: 1.184 MB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.5699, allocations: 192.9 kB / 1.519 GB, free: 13.25 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.5711, allocations: 0.6763 MB / 1.52 GB, free: 12.56 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.5712, allocations: 45.7 kB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.5716, allocations: 429 kB / 1.52 GB, free: 12.08 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.572, allocations: 293.5 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.5723, allocations: 146.6 kB / 1.521 GB, free: 11.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5725, allocations: 390.7 kB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.5732, allocations: 257.9 kB / 1.522 GB, free: 11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/0.5739, allocations: 378.5 kB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.5752, allocations: 0.6087 MB / 1.522 GB, free: 9.988 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5752, allocations: 0 / 1.522 GB, free: 9.988 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002316/0.5775, allocations: 0.8413 MB / 1.523 GB, free: 9.137 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5776, allocations: 4 kB / 1.523 GB, free: 9.133 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5776, allocations: 0 / 1.523 GB, free: 9.133 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.5782, allocations: 84.81 kB / 1.523 GB, free: 9.047 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.579, allocations: 163.8 kB / 1.524 GB, free: 8.887 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.5813, allocations: 1.539 MB / 1.525 GB, free: 7.227 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/0.5822, allocations: 95.45 kB / 1.525 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.5823, allocations: 32.05 kB / 1.525 GB, free: 7.102 MB / 1.217 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 (92): * Single equations (assignments): 91 * 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.0006724/0.583, allocations: 274.3 kB / 1.525 GB, free: 6.824 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.5834, allocations: 91.39 kB / 1.526 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.5863, allocations: 1.094 MB / 1.527 GB, free: 5.625 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5863, allocations: 12 kB / 1.527 GB, free: 5.613 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5863, allocations: 0 / 1.527 GB, free: 5.613 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5863, allocations: 7.922 kB / 1.527 GB, free: 5.605 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.5878, allocations: 0.9183 MB / 1.527 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.5878, allocations: 0 / 1.527 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.5886, allocations: 159.8 kB / 1.528 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.5891, allocations: 76.77 kB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.5892, allocations: 23.98 kB / 1.528 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.5915, allocations: 1.555 MB / 1.529 GB, free: 2.711 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5915, allocations: 3.938 kB / 1.529 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.5949, allocations: 1.364 MB / 1.531 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.5956, allocations: 215.1 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.5958, allocations: 24 kB / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.5966, allocations: 61.48 kB / 1.531 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.5968, allocations: 76.8 kB / 1.531 GB, free: 0.957 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.5969, allocations: 39.97 kB / 1.531 GB, free: 0.918 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008821/0.5978, allocations: 499 kB / 1.531 GB, free: 444 kB / 1.217 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5978, allocations: 4 kB / 1.531 GB, free: 440 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.001171/0.599, allocations: 339.1 kB / 1.532 GB, free: 100 kB / 1.217 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 (96): * Single equations (assignments): 90 * 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.005546/0.6045, allocations: 2.418 MB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.6067, allocations: 0.7961 MB / 1.535 GB, free: 13.02 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6067, allocations: 7.875 kB / 1.535 GB, free: 13.02 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.6079, allocations: 0.5004 MB / 1.535 GB, free: 12.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6094, allocations: 320.6 kB / 1.536 GB, free: 12.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.6238, allocations: 6.616 MB / 1.542 GB, free: 5.441 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.6247, allocations: 1.043 MB / 1.543 GB, free: 4.367 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001086/0.6258, allocations: 263.1 kB / 1.543 GB, free: 4.105 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007698/0.6265, allocations: 419.2 kB / 1.544 GB, free: 3.695 MB / 1.232 GB Notification: Performance of SimCode: time 9.82e-07/0.6265, allocations: 0 / 1.544 GB, free: 3.695 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09447/0.721, allocations: 23.27 MB / 1.567 GB, free: 12.63 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.14, allocations: 21.17 kB / 1.567 GB, free: 12.61 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.95058051001979]