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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.66 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.00145/0.00145, allocations: 215.9 kB / 22.24 MB, free: 5.262 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.789 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.069/3.069, allocations: 0.49 GB / 0.7951 GB, free: 35.42 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.001984/0.001984, allocations: 72.56 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007234/0.3473, allocations: 4.78 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.5151, allocations: 132.7 MB / 1.46 GB, free: 7.441 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007981/0.5159, allocations: 27.81 kB / 1.46 GB, free: 7.414 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.5165, allocations: 210.1 kB / 1.46 GB, free: 7.207 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.5183, allocations: 0.5851 MB / 1.461 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5204, allocations: 0.8689 MB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.5221, allocations: 1.475 MB / 1.463 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007688/0.5229, allocations: 447.4 kB / 1.464 GB, free: 3.812 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.5236, allocations: 0.5217 MB / 1.464 GB, free: 3.289 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.5243, allocations: 0.5406 MB / 1.465 GB, free: 2.746 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.5245, allocations: 124 kB / 1.465 GB, free: 2.625 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009809/0.5255, allocations: 0.4918 MB / 1.465 GB, free: 2.133 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.5258, allocations: 319 kB / 1.466 GB, free: 1.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.5264, allocations: 493.6 kB / 1.466 GB, free: 1.336 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5285, allocations: 1.747 MB / 1.468 GB, free: 15.58 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5286, allocations: 0 / 1.468 GB, free: 15.58 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5286, allocations: 0 / 1.468 GB, free: 15.58 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.5286, allocations: 0 / 1.468 GB, free: 15.58 MB / 1.17 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.002815/0.5314, allocations: 1.49 MB / 1.469 GB, free: 14.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5314, allocations: 12.03 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.5316, allocations: 143.7 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.5331, allocations: 240 kB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5345, allocations: 0.7374 MB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.5346, allocations: 66 kB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5347, allocations: 91.98 kB / 1.47 GB, free: 12.74 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.5366, allocations: 1.204 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.5366, allocations: 0 / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.5367, allocations: 36 kB / 1.472 GB, free: 11.4 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.5367, allocations: 24 kB / 1.472 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.5385, allocations: 1.093 MB / 1.473 GB, free: 10.28 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.004373/0.5429, allocations: 2.302 MB / 1.475 GB, free: 7.91 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.5445, allocations: 0.8024 MB / 1.476 GB, free: 7.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.5451, allocations: 290.7 kB / 1.476 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.5452, allocations: 38.56 kB / 1.476 GB, free: 6.773 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.5462, allocations: 0.5994 MB / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.895e-06/0.5462, allocations: 0 / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.00353/0.5497, allocations: 1.184 MB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.5498, allocations: 188.9 kB / 1.478 GB, free: 4.715 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.5508, allocations: 0.6763 MB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.5509, allocations: 45.7 kB / 1.479 GB, free: 3.98 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.5513, allocations: 429.1 kB / 1.479 GB, free: 3.555 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.5515, allocations: 285.7 kB / 1.479 GB, free: 3.273 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.5518, allocations: 154.6 kB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.552, allocations: 390.8 kB / 1.48 GB, free: 2.727 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.5526, allocations: 253.9 kB / 1.48 GB, free: 2.477 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.5533, allocations: 0.4912 MB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5544, allocations: 0.6125 MB / 1.481 GB, free: 1.309 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5544, allocations: 0 / 1.481 GB, free: 1.309 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00208/0.5565, allocations: 0.8413 MB / 1.482 GB, free: 468 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.5565, allocations: 9.703 kB / 1.482 GB, free: 460 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5566, allocations: 0 / 1.482 GB, free: 460 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.5572, allocations: 80.81 kB / 1.482 GB, free: 376 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.558, allocations: 167.8 kB / 1.482 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.5605, allocations: 1.523 MB / 1.484 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.5613, allocations: 93.92 kB / 1.484 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.5614, allocations: 35.97 kB / 1.484 GB, free: 14.44 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.0005091/0.5619, allocations: 266.2 kB / 1.484 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5621, allocations: 95.39 kB / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.5648, allocations: 1.098 MB / 1.485 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.5648, allocations: 8 kB / 1.485 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5648, allocations: 0 / 1.485 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5648, allocations: 7.969 kB / 1.485 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.566, allocations: 0.7781 MB / 1.486 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.566, allocations: 3.938 kB / 1.486 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.5667, allocations: 167.7 kB / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.5672, allocations: 68.73 kB / 1.486 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.5673, allocations: 27.97 kB / 1.486 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.5694, allocations: 1.543 MB / 1.488 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5694, allocations: 4.062 kB / 1.488 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.5723, allocations: 1.371 MB / 1.489 GB, free: 8.793 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/0.5729, allocations: 223 kB / 1.489 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.573, allocations: 20 kB / 1.489 GB, free: 8.555 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.5737, allocations: 64 kB / 1.49 GB, free: 8.492 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5739, allocations: 84.78 kB / 1.49 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.574, allocations: 31.98 kB / 1.49 GB, free: 8.379 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000708/0.5747, allocations: 495 kB / 1.49 GB, free: 7.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5747, allocations: 4.062 kB / 1.49 GB, free: 7.895 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009274/0.5756, allocations: 335.1 kB / 1.49 GB, free: 7.566 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.0054/0.581, allocations: 2.462 MB / 1.493 GB, free: 5.281 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.5828, allocations: 0.7923 MB / 1.494 GB, free: 4.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5828, allocations: 4 kB / 1.494 GB, free: 4.477 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5839, allocations: 0.4963 MB / 1.494 GB, free: 3.965 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5853, allocations: 313.9 kB / 1.494 GB, free: 3.684 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.5974, allocations: 6.616 MB / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.598, allocations: 459.8 kB / 1.501 GB, free: 12.43 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009176/0.5989, allocations: 271 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.5996, allocations: 415.3 kB / 1.502 GB, free: 11.76 MB / 1.201 GB Notification: Performance of SimCode: time 1.483e-06/0.5996, allocations: 0 / 1.502 GB, free: 11.76 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/0.6659, allocations: 24.5 MB / 1.526 GB, free: 3.578 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.67, allocations: 0 / 1.526 GB, free: 3.578 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.342758843005868]