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.001882/0.001882, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002514/0.002514, allocations: 217 kB / 22.25 MB, free: 4.852 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.809 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.08/3.08, allocations: 0.4892 GB / 0.7944 GB, free: 35.79 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.002018/0.002018, allocations: 69.67 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007708/0.3268, allocations: 4.77 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.4919, allocations: 132.7 MB / 1.459 GB, free: 8.316 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009316/0.4929, allocations: 19.88 kB / 1.459 GB, free: 8.297 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.4936, allocations: 206.1 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.4954, allocations: 0.5854 MB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.4974, allocations: 0.8781 MB / 1.461 GB, free: 6.637 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.4991, allocations: 1.471 MB / 1.462 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.4998, allocations: 418.8 kB / 1.463 GB, free: 4.723 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.5005, allocations: 0.5217 MB / 1.463 GB, free: 4.199 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.5011, allocations: 497.6 kB / 1.464 GB, free: 3.711 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.5013, allocations: 124 kB / 1.464 GB, free: 3.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009395/0.5022, allocations: 487.6 kB / 1.464 GB, free: 3.113 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.5025, allocations: 322.9 kB / 1.465 GB, free: 2.797 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.503, allocations: 489.7 kB / 1.465 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.505, allocations: 1.755 MB / 1.467 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.505, allocations: 4 kB / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.422e-06/0.505, allocations: 0 / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.505, allocations: 0 / 1.467 GB, free: 0.5508 MB / 1.154 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.002542/0.5076, allocations: 1.474 MB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5076, allocations: 12.03 kB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.5078, allocations: 143.7 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.5091, allocations: 236 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5104, allocations: 0.7451 MB / 1.469 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.5105, allocations: 73.92 kB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5106, allocations: 88 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5123, allocations: 1.205 MB / 1.471 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5123, allocations: 4 kB / 1.471 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.5124, allocations: 39.98 kB / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.5124, allocations: 24 kB / 1.471 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.5143, allocations: 1.089 MB / 1.472 GB, free: 11.25 MB / 1.17 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.004/0.5183, allocations: 2.302 MB / 1.474 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.5198, allocations: 0.8024 MB / 1.475 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.5204, allocations: 286.7 kB / 1.475 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.5205, allocations: 30.69 kB / 1.475 GB, free: 7.758 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.5215, allocations: 0.6007 MB / 1.476 GB, free: 7.117 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.745e-06/0.5215, allocations: 4 kB / 1.476 GB, free: 7.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003301/0.5248, allocations: 1.176 MB / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.5249, allocations: 192.9 kB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/0.5259, allocations: 0.6724 MB / 1.478 GB, free: 5.02 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.5259, allocations: 49.7 kB / 1.478 GB, free: 4.965 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.5263, allocations: 433.1 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.5266, allocations: 285.5 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5268, allocations: 150.6 kB / 1.479 GB, free: 4.102 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.527, allocations: 394.7 kB / 1.479 GB, free: 3.707 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.5276, allocations: 257.9 kB / 1.479 GB, free: 3.453 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.5283, allocations: 491.1 kB / 1.48 GB, free: 2.914 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.5294, allocations: 0.6164 MB / 1.48 GB, free: 2.289 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5294, allocations: 0 / 1.48 GB, free: 2.289 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001982/0.5314, allocations: 0.8452 MB / 1.481 GB, free: 1.434 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5314, allocations: 4 kB / 1.481 GB, free: 1.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5314, allocations: 0 / 1.481 GB, free: 1.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.532, allocations: 84.88 kB / 1.481 GB, free: 1.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5327, allocations: 159.8 kB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.5351, allocations: 1.533 MB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.5358, allocations: 101.5 kB / 1.483 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.5359, allocations: 39.91 kB / 1.483 GB, free: 15.4 MB / 1.186 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.0004787/0.5363, allocations: 258.2 kB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5365, allocations: 99.45 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.539, allocations: 1.094 MB / 1.484 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.539, allocations: 8 kB / 1.484 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.539, allocations: 4 kB / 1.484 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.539, allocations: 11.95 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5401, allocations: 0.7742 MB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5401, allocations: 7.938 kB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.5408, allocations: 163.8 kB / 1.485 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.5412, allocations: 68.78 kB / 1.485 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.5413, allocations: 23.98 kB / 1.486 GB, free: 12.83 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.5433, allocations: 1.551 MB / 1.487 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5433, allocations: 0 / 1.487 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.5462, allocations: 1.372 MB / 1.488 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.5466, allocations: 215 kB / 1.489 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.5468, allocations: 19.94 kB / 1.489 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.5474, allocations: 63.92 kB / 1.489 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.5475, allocations: 76.86 kB / 1.489 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.5476, allocations: 35.98 kB / 1.489 GB, free: 9.363 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006781/0.5483, allocations: 495.1 kB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5483, allocations: 4 kB / 1.489 GB, free: 8.879 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008431/0.5491, allocations: 331.1 kB / 1.49 GB, free: 8.555 MB / 1.186 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.005142/0.5543, allocations: 2.472 MB / 1.492 GB, free: 6.262 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.5561, allocations: 0.8001 MB / 1.493 GB, free: 5.453 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5561, allocations: 0 / 1.493 GB, free: 5.453 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.5571, allocations: 0.4963 MB / 1.493 GB, free: 4.945 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5584, allocations: 306.3 kB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.5698, allocations: 6.626 MB / 1.5 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.5703, allocations: 457.6 kB / 1.5 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008683/0.5712, allocations: 271 kB / 1.501 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006614/0.5718, allocations: 411.3 kB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of SimCode: time 1.192e-06/0.5718, allocations: 0 / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/0.6398, allocations: 24.25 MB / 1.525 GB, free: 4.812 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.96, allocations: 3.984 kB / 1.525 GB, free: 4.809 MB / 1.217 GB " [Timeout remaining time 285] (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: 21.603964883834124]