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.001323/0.001323, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001569/0.001569, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 8.008 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.126/3.126, 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.002299/0.002299, allocations: 65.78 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3472, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008139/0.3553, allocations: 5.35 MB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.5383, allocations: 154.2 MB / 1.482 GB, free: 1.766 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.5393, allocations: 23.81 kB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.5401, allocations: 210.1 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.5423, allocations: 0.5825 MB / 1.482 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.5448, allocations: 0.8959 MB / 1.483 GB, free: 64 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.5471, allocations: 1.482 MB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.5481, allocations: 439.7 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.5492, allocations: 0.5256 MB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.5501, allocations: 0.5445 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.5504, allocations: 120 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.5518, allocations: 0.5191 MB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.5521, allocations: 311 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007655/0.5529, allocations: 0.5908 MB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.5561, allocations: 1.747 MB / 1.489 GB, free: 9.754 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.5561, allocations: 4 kB / 1.489 GB, free: 9.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5561, allocations: 0 / 1.489 GB, free: 9.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.408e-05/0.5562, allocations: 0 / 1.489 GB, free: 9.75 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.003333/0.5595, allocations: 1.486 MB / 1.491 GB, free: 8.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5596, allocations: 12.03 kB / 1.491 GB, free: 8.219 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.5597, allocations: 135.7 kB / 1.491 GB, free: 8.078 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.5613, allocations: 243.9 kB / 1.491 GB, free: 7.84 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.5627, allocations: 0.7374 MB / 1.492 GB, free: 7.07 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.5628, allocations: 66 kB / 1.492 GB, free: 7.004 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.563, allocations: 84 kB / 1.492 GB, free: 6.922 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.5647, allocations: 0.9496 MB / 1.493 GB, free: 5.934 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.5647, allocations: 3.984 kB / 1.493 GB, free: 5.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.5648, allocations: 43.94 kB / 1.493 GB, free: 5.887 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5648, allocations: 24 kB / 1.493 GB, free: 5.863 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5668, allocations: 1.132 MB / 1.494 GB, free: 4.727 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.005018/0.5718, allocations: 2.82 MB / 1.497 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.5735, allocations: 0.8011 MB / 1.498 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.5741, allocations: 293.1 kB / 1.498 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.882e-05/0.5742, allocations: 42.67 kB / 1.498 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009754/0.5752, allocations: 0.5003 MB / 1.499 GB, free: 120 kB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 3.737e-06/0.5752, allocations: 0 / 1.499 GB, free: 120 kB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003643/0.5788, allocations: 1.18 MB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.579, allocations: 188.9 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.58, allocations: 0.6764 MB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.5801, allocations: 41.7 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.5805, allocations: 437 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.5809, allocations: 281.6 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5811, allocations: 154.6 kB / 1.501 GB, free: 13.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5814, allocations: 390.8 kB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.5819, allocations: 253.9 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.5826, allocations: 382.4 kB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5838, allocations: 0.6048 MB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5838, allocations: 0 / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002171/0.5859, allocations: 0.8452 MB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.586, allocations: 5.719 kB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.586, allocations: 4 kB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.5866, allocations: 80.86 kB / 1.504 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.5874, allocations: 163.7 kB / 1.504 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.5897, allocations: 1.535 MB / 1.506 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.5906, allocations: 91.5 kB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5908, allocations: 27.98 kB / 1.506 GB, free: 8.574 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.0006084/0.5914, allocations: 274.3 kB / 1.506 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5916, allocations: 91.44 kB / 1.506 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.5943, allocations: 1.102 MB / 1.507 GB, free: 7.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.5943, allocations: 15.98 kB / 1.507 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5943, allocations: 3.938 kB / 1.507 GB, free: 7.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5943, allocations: 3.984 kB / 1.507 GB, free: 7.066 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.5958, allocations: 0.9106 MB / 1.508 GB, free: 6.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5958, allocations: 3.938 kB / 1.508 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.5966, allocations: 155.7 kB / 1.508 GB, free: 5.957 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/0.5971, allocations: 76.78 kB / 1.508 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5972, allocations: 27.98 kB / 1.508 GB, free: 5.852 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.5993, allocations: 1.555 MB / 1.51 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5993, allocations: 0 / 1.51 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.6024, allocations: 1.371 MB / 1.511 GB, free: 2.781 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/0.603, allocations: 219 kB / 1.511 GB, free: 2.566 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6032, allocations: 16 kB / 1.511 GB, free: 2.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.6039, allocations: 68.06 kB / 1.511 GB, free: 2.484 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6041, allocations: 80.84 kB / 1.512 GB, free: 2.406 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.6041, allocations: 31.98 kB / 1.512 GB, free: 2.375 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007437/0.6049, allocations: 491 kB / 1.512 GB, free: 1.898 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6049, allocations: 0 / 1.512 GB, free: 1.898 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0011/0.606, allocations: 343.1 kB / 1.512 GB, free: 1.562 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.005454/0.6114, allocations: 2.428 MB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.6135, allocations: 0.8 MB / 1.515 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6135, allocations: 0 / 1.515 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6146, allocations: 0.508 MB / 1.516 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.616, allocations: 306.6 kB / 1.516 GB, free: 13.67 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.6295, allocations: 6.621 MB / 1.523 GB, free: 6.898 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.6303, allocations: 1.041 MB / 1.524 GB, free: 5.828 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001022/0.6313, allocations: 275 kB / 1.524 GB, free: 5.555 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.632, allocations: 415.3 kB / 1.524 GB, free: 5.148 MB / 1.217 GB Notification: Performance of SimCode: time 1.323e-06/0.632, allocations: 0 / 1.524 GB, free: 5.148 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/0.7041, allocations: 23.25 MB / 1.547 GB, free: 14.13 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.67, allocations: 12.56 kB / 1.547 GB, free: 14.12 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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.498848678002105]