Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001997/0.001997, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002356/0.002356, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.185/3.185, allocations: 0.49 GB / 0.7923 GB, free: 1.441 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002375/0.002375, allocations: 67.91 kB / 1.15 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221/1.224, allocations: 176.1 MB / 1.321 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2497/1.473, allocations: 169.6 MB / 1.487 GB, free: 11.99 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01694/1.49, allocations: 7.923 MB / 1.495 GB, free: 4.043 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/1.492, allocations: 47.62 kB / 1.495 GB, free: 3.996 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/1.494, allocations: 424.9 kB / 1.495 GB, free: 3.578 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/1.5, allocations: 1.355 MB / 1.497 GB, free: 2.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/1.504, allocations: 1.202 MB / 1.498 GB, free: 1.023 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004738/1.508, allocations: 2.381 MB / 1.5 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/1.511, allocations: 0.995 MB / 1.501 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/1.513, allocations: 0.8953 MB / 1.502 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/1.516, allocations: 0.8114 MB / 1.503 GB, free: 11.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005947/1.516, allocations: 160 kB / 1.503 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/1.52, allocations: 1.197 MB / 1.504 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000821/1.521, allocations: 446.5 kB / 1.504 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00179/1.522, allocations: 0.7852 MB / 1.505 GB, free: 9.324 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005984/1.528, allocations: 2.467 MB / 1.508 GB, free: 6.848 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.528, allocations: 0 / 1.508 GB, free: 6.848 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.944e-06/1.528, allocations: 0 / 1.508 GB, free: 6.848 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.702e-05/1.528, allocations: 0 / 1.508 GB, free: 6.848 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00564/1.534, allocations: 1.962 MB / 1.51 GB, free: 4.824 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.534, allocations: 11.98 kB / 1.51 GB, free: 4.812 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.856e-05/1.534, allocations: 30.2 kB / 1.51 GB, free: 4.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004585/1.535, allocations: 172.9 kB / 1.51 GB, free: 4.602 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/1.538, allocations: 374.6 kB / 1.51 GB, free: 4.234 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/1.54, allocations: 1.043 MB / 1.511 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.54, allocations: 78.2 kB / 1.511 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/1.541, allocations: 111.9 kB / 1.511 GB, free: 2.957 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/1.544, allocations: 1.168 MB / 1.512 GB, free: 1.719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/1.544, allocations: 0 / 1.512 GB, free: 1.719 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.544, allocations: 59.91 kB / 1.513 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/1.544, allocations: 38.12 kB / 1.513 GB, free: 1.621 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/1.547, allocations: 1.308 MB / 1.514 GB, free: 312 kB / 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.008477/1.556, allocations: 3.899 MB / 1.518 GB, free: 12.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/1.558, allocations: 0.9457 MB / 1.519 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/1.559, allocations: 367.6 kB / 1.519 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/1.559, allocations: 33.03 kB / 1.519 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/1.561, allocations: 0.6031 MB / 1.52 GB, free: 10.21 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 3.757e-06/1.561, allocations: 0 / 1.52 GB, free: 10.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.004836/1.565, allocations: 1.446 MB / 1.521 GB, free: 8.738 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/1.566, allocations: 196.9 kB / 1.521 GB, free: 8.504 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/1.568, allocations: 0.8547 MB / 1.522 GB, free: 7.625 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/1.568, allocations: 53.7 kB / 1.522 GB, free: 7.566 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/1.569, allocations: 0.5402 MB / 1.523 GB, free: 7.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006095/1.569, allocations: 353 kB / 1.523 GB, free: 6.672 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/1.57, allocations: 182.5 kB / 1.523 GB, free: 6.488 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.57, allocations: 345.9 kB / 1.523 GB, free: 6.145 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/1.571, allocations: 313.8 kB / 1.524 GB, free: 5.836 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/1.572, allocations: 471.7 kB / 1.524 GB, free: 5.328 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.573, allocations: 0.7814 MB / 1.525 GB, free: 4.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.573, allocations: 0 / 1.525 GB, free: 4.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003055/1.576, allocations: 1.029 MB / 1.526 GB, free: 3.48 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.576, allocations: 6.031 kB / 1.526 GB, free: 3.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.577, allocations: 4 kB / 1.526 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/1.577, allocations: 85 kB / 1.526 GB, free: 3.387 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.578, allocations: 207.7 kB / 1.526 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/1.581, allocations: 1.634 MB / 1.528 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.582, allocations: 111.4 kB / 1.528 GB, free: 1.297 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.582, allocations: 35.98 kB / 1.528 GB, free: 1.262 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.001067/1.584, allocations: 321.5 kB / 1.528 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/1.584, allocations: 123.2 kB / 1.528 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/1.588, allocations: 1.24 MB / 1.53 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.588, allocations: 12 kB / 1.53 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.588, allocations: 0 / 1.53 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.588, allocations: 3.984 kB / 1.53 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/1.591, allocations: 1.185 MB / 1.531 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.591, allocations: 8 kB / 1.531 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.592, allocations: 203.7 kB / 1.531 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/1.592, allocations: 72.77 kB / 1.531 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.593, allocations: 39.97 kB / 1.531 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/1.595, allocations: 1.662 MB / 1.533 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.595, allocations: 3.984 kB / 1.533 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/1.6, allocations: 1.579 MB / 1.534 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/1.601, allocations: 339.9 kB / 1.535 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/1.601, allocations: 24 kB / 1.535 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.602, allocations: 64.69 kB / 1.535 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/1.603, allocations: 80.88 kB / 1.535 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.603, allocations: 43.97 kB / 1.535 GB, free: 10.02 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001408/1.604, allocations: 0.6022 MB / 1.535 GB, free: 9.406 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.6e-07/1.604, allocations: 0 / 1.535 GB, free: 9.406 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001962/1.606, allocations: 431 kB / 1.536 GB, free: 8.984 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.007237/1.614, allocations: 2.65 MB / 1.538 GB, free: 6.48 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.616, allocations: 0.929 MB / 1.539 GB, free: 5.543 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/1.617, allocations: 4 kB / 1.539 GB, free: 5.539 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/1.618, allocations: 0.5784 MB / 1.54 GB, free: 4.949 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.621, allocations: 494 kB / 1.54 GB, free: 4.484 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.639, allocations: 8.321 MB / 1.548 GB, free: 11.98 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.64, allocations: 1.156 MB / 1.55 GB, free: 10.79 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001364/1.642, allocations: 333.2 kB / 1.55 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009589/1.643, allocations: 0.5149 MB / 1.55 GB, free: 9.949 MB / 1.232 GB Notification: Performance of SimCode: time 9.41e-07/1.643, allocations: 0 / 1.55 GB, free: 9.949 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08626/1.729, allocations: 30.08 MB / 1.58 GB, free: 12.19 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/17.09, allocations: 14.31 kB / 1.58 GB, free: 12.18 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 24.269714329042472]