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.001712/0.001712, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002255/0.002255, allocations: 217.5 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.086/3.086, allocations: 0.49 GB / 0.7959 GB, free: 33.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_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.002159/0.002159, allocations: 65.69 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007816/0.3474, allocations: 5.342 MB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.176/0.5234, allocations: 154.2 MB / 1.482 GB, free: 1.812 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009516/0.5244, allocations: 27.81 kB / 1.482 GB, free: 1.785 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007739/0.5252, allocations: 214.1 kB / 1.483 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.5271, allocations: 0.573 MB / 1.483 GB, free: 1 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.5293, allocations: 0.8897 MB / 1.484 GB, free: 120 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.5312, allocations: 1.486 MB / 1.486 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.532, allocations: 435.7 kB / 1.486 GB, free: 14.18 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.5328, allocations: 0.5256 MB / 1.486 GB, free: 13.65 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.5335, allocations: 0.5406 MB / 1.487 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.5337, allocations: 124 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5347, allocations: 0.5113 MB / 1.488 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.5351, allocations: 311 kB / 1.488 GB, free: 12.17 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.5357, allocations: 0.5947 MB / 1.489 GB, free: 11.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.538, allocations: 1.751 MB / 1.49 GB, free: 9.812 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.538, allocations: 0 / 1.49 GB, free: 9.812 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.284e-06/0.538, allocations: 4 kB / 1.49 GB, free: 9.809 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.538, allocations: 0 / 1.49 GB, free: 9.809 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.002851/0.5408, allocations: 1.486 MB / 1.492 GB, free: 8.289 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5409, allocations: 12.03 kB / 1.492 GB, free: 8.277 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.139e-05/0.5409, allocations: 22.19 kB / 1.492 GB, free: 8.254 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.5411, allocations: 143.7 kB / 1.492 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.5425, allocations: 239.9 kB / 1.492 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5439, allocations: 0.7333 MB / 1.493 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.544, allocations: 70 kB / 1.493 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5441, allocations: 88 kB / 1.493 GB, free: 6.953 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5458, allocations: 0.9535 MB / 1.494 GB, free: 5.957 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5459, allocations: 0 / 1.494 GB, free: 5.957 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.5459, allocations: 36 kB / 1.494 GB, free: 5.922 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.546, allocations: 20 kB / 1.494 GB, free: 5.902 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5479, allocations: 1.139 MB / 1.495 GB, free: 4.766 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.004517/0.5524, allocations: 2.828 MB / 1.498 GB, free: 1.801 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.554, allocations: 0.7934 MB / 1.499 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.5546, allocations: 288.8 kB / 1.499 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/0.5547, allocations: 36.67 kB / 1.499 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009227/0.5556, allocations: 0.508 MB / 1.499 GB, free: 156 kB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.074e-06/0.5556, allocations: 0 / 1.499 GB, free: 156 kB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.00336/0.5589, allocations: 1.184 MB / 1.501 GB, free: 14.96 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.5591, allocations: 188.9 kB / 1.501 GB, free: 14.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.56, allocations: 0.6725 MB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.5601, allocations: 41.7 kB / 1.501 GB, free: 14.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.5604, allocations: 437 kB / 1.502 GB, free: 13.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.5607, allocations: 281.6 kB / 1.502 GB, free: 13.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.5609, allocations: 154.6 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.5611, allocations: 398.7 kB / 1.503 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.5617, allocations: 253.9 kB / 1.503 GB, free: 12.49 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.5623, allocations: 366.5 kB / 1.503 GB, free: 12.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.5634, allocations: 0.6125 MB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5634, allocations: 0 / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002048/0.5655, allocations: 0.8413 MB / 1.505 GB, free: 10.63 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5655, allocations: 5.875 kB / 1.505 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5655, allocations: 3.984 kB / 1.505 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.5661, allocations: 84.86 kB / 1.505 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.5668, allocations: 171.8 kB / 1.505 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.5689, allocations: 1.537 MB / 1.506 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.5696, allocations: 91.53 kB / 1.506 GB, free: 8.629 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.5697, allocations: 35.97 kB / 1.507 GB, free: 8.594 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.0004654/0.5702, allocations: 262.4 kB / 1.507 GB, free: 8.328 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.5704, allocations: 95.42 kB / 1.507 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.5728, allocations: 1.094 MB / 1.508 GB, free: 7.125 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5728, allocations: 8 kB / 1.508 GB, free: 7.117 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5728, allocations: 7.938 kB / 1.508 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5728, allocations: 15.97 kB / 1.508 GB, free: 7.094 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.574, allocations: 0.9105 MB / 1.509 GB, free: 6.141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.574, allocations: 0 / 1.509 GB, free: 6.141 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.5747, allocations: 155.8 kB / 1.509 GB, free: 5.988 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.5752, allocations: 72.78 kB / 1.509 GB, free: 5.914 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.5752, allocations: 27.97 kB / 1.509 GB, free: 5.887 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.5772, allocations: 1.559 MB / 1.511 GB, free: 4.203 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5772, allocations: 7.875 kB / 1.511 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.58, allocations: 1.375 MB / 1.512 GB, free: 2.801 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.5805, allocations: 211 kB / 1.512 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5807, allocations: 16 kB / 1.512 GB, free: 2.578 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.5813, allocations: 67.98 kB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5815, allocations: 76.86 kB / 1.512 GB, free: 2.438 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.416e-05/0.5815, allocations: 35.98 kB / 1.512 GB, free: 2.402 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006436/0.5822, allocations: 495 kB / 1.513 GB, free: 1.926 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5822, allocations: 0 / 1.513 GB, free: 1.926 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008887/0.5831, allocations: 331.1 kB / 1.513 GB, free: 1.602 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.004962/0.588, allocations: 2.428 MB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.5898, allocations: 0.8078 MB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5898, allocations: 0 / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.5908, allocations: 0.5002 MB / 1.517 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5921, allocations: 320.1 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.6036, allocations: 6.608 MB / 1.524 GB, free: 6.938 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.6043, allocations: 1.039 MB / 1.525 GB, free: 5.871 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008447/0.6052, allocations: 282.9 kB / 1.525 GB, free: 5.59 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.6058, allocations: 411.3 kB / 1.525 GB, free: 5.188 MB / 1.217 GB Notification: Performance of SimCode: time 1.512e-06/0.6058, allocations: 0 / 1.525 GB, free: 5.188 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/0.6643, allocations: 23.28 MB / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.8, allocations: 4.062 kB / 1.548 GB, free: 14.15 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.61844105599448]