Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001623/0.001623, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002038/0.002038, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.061/3.061, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002087/0.002087, allocations: 63.34 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008289/0.3484, allocations: 5.344 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5251, allocations: 154.2 MB / 1.482 GB, free: 1.801 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.526, allocations: 23.88 kB / 1.482 GB, free: 1.777 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.5269, allocations: 218.1 kB / 1.482 GB, free: 1.562 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.5291, allocations: 0.5783 MB / 1.482 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.5314, allocations: 0.8841 MB / 1.483 GB, free: 108 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.5335, allocations: 1.486 MB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009595/0.5345, allocations: 434.8 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009333/0.5354, allocations: 0.5256 MB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.5363, allocations: 0.5406 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.5365, allocations: 127.9 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.5377, allocations: 0.5074 MB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.5381, allocations: 311 kB / 1.487 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.539, allocations: 0.5985 MB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.5416, allocations: 1.747 MB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5416, allocations: 3.938 kB / 1.489 GB, free: 9.793 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5416, allocations: 0 / 1.489 GB, free: 9.793 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.413e-05/0.5416, allocations: 0 / 1.489 GB, free: 9.793 MB / 1.186 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.003272/0.5449, allocations: 1.486 MB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.545, allocations: 15.97 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.5452, allocations: 139.7 kB / 1.491 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.5467, allocations: 239.9 kB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.5482, allocations: 0.7335 MB / 1.492 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.5483, allocations: 66 kB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.5485, allocations: 88 kB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5502, allocations: 0.9535 MB / 1.493 GB, free: 5.969 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5502, allocations: 0 / 1.493 GB, free: 5.969 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.5503, allocations: 40 kB / 1.493 GB, free: 5.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.5504, allocations: 20 kB / 1.493 GB, free: 5.91 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.5523, allocations: 1.136 MB / 1.494 GB, free: 4.77 MB / 1.186 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.004812/0.5571, allocations: 2.828 MB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5588, allocations: 0.7909 MB / 1.498 GB, free: 1.008 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.5594, allocations: 302.7 kB / 1.498 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/0.5595, allocations: 34.69 kB / 1.498 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009311/0.5604, allocations: 0.5042 MB / 1.499 GB, free: 164 kB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.5604, allocations: 0 / 1.499 GB, free: 164 kB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.00344/0.5638, allocations: 1.176 MB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.564, allocations: 196.9 kB / 1.5 GB, free: 14.74 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.565, allocations: 0.6725 MB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.5651, allocations: 45.7 kB / 1.501 GB, free: 14.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.5655, allocations: 429 kB / 1.501 GB, free: 13.58 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.5658, allocations: 285.6 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.5661, allocations: 154.6 kB / 1.501 GB, free: 13.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.5663, allocations: 390.7 kB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.5668, allocations: 257.9 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.5675, allocations: 370.6 kB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5687, allocations: 0.6086 MB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5687, allocations: 0 / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002148/0.5708, allocations: 0.8452 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5709, allocations: 9.719 kB / 1.504 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5709, allocations: 3.938 kB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5715, allocations: 80.88 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.5722, allocations: 163.8 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.5745, allocations: 1.533 MB / 1.506 GB, free: 8.734 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.5754, allocations: 99.48 kB / 1.506 GB, free: 8.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5755, allocations: 32.05 kB / 1.506 GB, free: 8.605 MB / 1.201 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.0006149/0.5761, allocations: 266.3 kB / 1.506 GB, free: 8.336 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.5764, allocations: 99.61 kB / 1.506 GB, free: 8.238 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.5791, allocations: 1.098 MB / 1.507 GB, free: 7.129 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5791, allocations: 8 kB / 1.507 GB, free: 7.121 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5791, allocations: 3.984 kB / 1.507 GB, free: 7.117 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5791, allocations: 3.984 kB / 1.507 GB, free: 7.113 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.5805, allocations: 0.9144 MB / 1.508 GB, free: 6.156 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5805, allocations: 3.938 kB / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.5812, allocations: 155.8 kB / 1.508 GB, free: 6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004918/0.5817, allocations: 72.8 kB / 1.508 GB, free: 5.926 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.5818, allocations: 27.97 kB / 1.508 GB, free: 5.898 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.5839, allocations: 1.563 MB / 1.51 GB, free: 4.211 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5839, allocations: 3.984 kB / 1.51 GB, free: 4.207 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.587, allocations: 1.368 MB / 1.511 GB, free: 2.82 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.5876, allocations: 223.1 kB / 1.511 GB, free: 2.602 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5877, allocations: 16 kB / 1.511 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.5884, allocations: 63.92 kB / 1.511 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5886, allocations: 76.86 kB / 1.512 GB, free: 2.449 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.5887, allocations: 35.97 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007361/0.5894, allocations: 491 kB / 1.512 GB, free: 1.938 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5894, allocations: 4 kB / 1.512 GB, free: 1.934 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009898/0.5904, allocations: 335.1 kB / 1.512 GB, free: 1.605 MB / 1.201 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.005267/0.5957, allocations: 2.42 MB / 1.515 GB, free: 15.33 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.5977, allocations: 0.7999 MB / 1.515 GB, free: 14.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5977, allocations: 0 / 1.515 GB, free: 14.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5988, allocations: 0.512 MB / 1.516 GB, free: 14 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.6002, allocations: 312.8 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.6131, allocations: 6.611 MB / 1.523 GB, free: 6.953 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.6139, allocations: 1.047 MB / 1.524 GB, free: 5.875 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009841/0.6149, allocations: 278.9 kB / 1.524 GB, free: 5.598 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/0.6156, allocations: 419.2 kB / 1.524 GB, free: 5.188 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/0.6156, allocations: 0 / 1.524 GB, free: 5.188 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06957/0.6852, allocations: 23.25 MB / 1.547 GB, free: 14.17 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/16.91, allocations: 5.719 kB / 1.547 GB, free: 14.17 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.542809209087864]