Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001324/0.001324, allocations: 111.7 kB / 16.45 MB, free: 6.488 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.001455/0.001455, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.16/3.16, allocations: 0.49 GB / 0.7916 GB, free: 33.47 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.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001962/0.001962, allocations: 72.42 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007045/0.3091, allocations: 4.995 MB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.4886, allocations: 154 MB / 1.476 GB, free: 3.762 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008513/0.4894, allocations: 23.81 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.4901, allocations: 194.2 kB / 1.476 GB, free: 3.547 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.492, allocations: 0.5636 MB / 1.477 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4942, allocations: 0.8567 MB / 1.478 GB, free: 2.133 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.496, allocations: 1.393 MB / 1.479 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.4968, allocations: 417.4 kB / 1.479 GB, free: 308 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007501/0.4975, allocations: 0.4983 MB / 1.48 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.4982, allocations: 0.4979 MB / 1.48 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.4983, allocations: 116 kB / 1.48 GB, free: 15.19 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4995, allocations: 0.5112 MB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.4998, allocations: 303 kB / 1.481 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000604/0.5004, allocations: 0.5635 MB / 1.482 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.5028, allocations: 1.665 MB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5028, allocations: 4 kB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5028, allocations: 0 / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.5028, allocations: 0 / 1.483 GB, free: 12.14 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002786/0.5056, allocations: 1.491 MB / 1.485 GB, free: 10.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5057, allocations: 15.98 kB / 1.485 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.5058, allocations: 135.2 kB / 1.485 GB, free: 10.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.5074, allocations: 228 kB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5087, allocations: 0.7863 MB / 1.486 GB, free: 9.387 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5088, allocations: 62 kB / 1.486 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.5089, allocations: 80 kB / 1.486 GB, free: 9.246 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5105, allocations: 0.9114 MB / 1.487 GB, free: 8.293 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5106, allocations: 4 kB / 1.487 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.5106, allocations: 36 kB / 1.487 GB, free: 8.254 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.5107, allocations: 20 kB / 1.487 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5125, allocations: 1.097 MB / 1.488 GB, free: 7.133 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.004318/0.5168, allocations: 2.836 MB / 1.491 GB, free: 4.16 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.5184, allocations: 0.7348 MB / 1.492 GB, free: 3.418 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.5189, allocations: 274.7 kB / 1.492 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.519, allocations: 28.61 kB / 1.492 GB, free: 3.117 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008962/0.5199, allocations: 488.6 kB / 1.492 GB, free: 2.625 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.5199, allocations: 0 / 1.492 GB, free: 2.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003347/0.5232, allocations: 1.179 MB / 1.494 GB, free: 1.418 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5233, allocations: 196.6 kB / 1.494 GB, free: 1.184 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/0.5243, allocations: 0.6646 MB / 1.494 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.657e-05/0.5243, allocations: 37.7 kB / 1.494 GB, free: 480 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.5247, allocations: 413 kB / 1.495 GB, free: 60 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.525, allocations: 269.9 kB / 1.495 GB, free: 15.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.5252, allocations: 142.6 kB / 1.495 GB, free: 15.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5254, allocations: 390.5 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.5259, allocations: 241.9 kB / 1.496 GB, free: 15.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.5266, allocations: 355.4 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5277, allocations: 0.5886 MB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5277, allocations: 7.922 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001994/0.5297, allocations: 0.7945 MB / 1.498 GB, free: 13.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5297, allocations: 4 kB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5297, allocations: 4 kB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.5303, allocations: 92.81 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.531, allocations: 143.8 kB / 1.498 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.5332, allocations: 1.622 MB / 1.499 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.534, allocations: 99.52 kB / 1.499 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.5341, allocations: 31.92 kB / 1.499 GB, free: 11.09 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004996/0.5346, allocations: 280.5 kB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.5348, allocations: 87.44 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.5373, allocations: 1.035 MB / 1.501 GB, free: 9.668 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5373, allocations: 15.94 kB / 1.501 GB, free: 9.652 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5373, allocations: 3.938 kB / 1.501 GB, free: 9.648 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5373, allocations: 7.969 kB / 1.501 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5386, allocations: 0.8998 MB / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5386, allocations: 4 kB / 1.502 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.5392, allocations: 139.8 kB / 1.502 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.5397, allocations: 72.78 kB / 1.502 GB, free: 8.477 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.5397, allocations: 27.98 kB / 1.502 GB, free: 8.449 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.5419, allocations: 1.662 MB / 1.504 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5419, allocations: 0 / 1.504 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.5442, allocations: 0.9205 MB / 1.504 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.5446, allocations: 276.2 kB / 1.505 GB, free: 5.41 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.5447, allocations: 19.95 kB / 1.505 GB, free: 5.391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.5454, allocations: 59.94 kB / 1.505 GB, free: 5.332 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5455, allocations: 76.83 kB / 1.505 GB, free: 5.258 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.5456, allocations: 27.98 kB / 1.505 GB, free: 5.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007076/0.5463, allocations: 491 kB / 1.505 GB, free: 4.754 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5463, allocations: 0 / 1.505 GB, free: 4.754 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000962/0.5473, allocations: 319.2 kB / 1.506 GB, free: 4.441 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004363/0.5517, allocations: 1.975 MB / 1.508 GB, free: 2.621 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.5536, allocations: 0.7609 MB / 1.508 GB, free: 1.852 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5536, allocations: 0 / 1.508 GB, free: 1.852 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.5547, allocations: 0.4887 MB / 1.509 GB, free: 1.352 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5562, allocations: 300.1 kB / 1.509 GB, free: 1.078 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.5686, allocations: 6.242 MB / 1.515 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/0.5694, allocations: 1.019 MB / 1.516 GB, free: 9.617 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.5704, allocations: 262.6 kB / 1.516 GB, free: 9.355 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/0.5711, allocations: 407.3 kB / 1.517 GB, free: 8.957 MB / 1.217 GB Notification: Performance of SimCode: time 1.503e-06/0.5711, allocations: 0 / 1.517 GB, free: 8.957 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/0.6559, allocations: 21.84 MB / 1.538 GB, free: 3.363 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.6, allocations: 7.875 kB / 1.538 GB, free: 3.355 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_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_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.35045374999754]