Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 195.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.09 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2639, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1647/0.4287, allocations: 166.1 MB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4402, allocations: 7.8 MB / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.4419, allocations: 35.86 kB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.4432, allocations: 404.9 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.4471, allocations: 1.323 MB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.45, allocations: 1.159 MB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.4529, allocations: 2.348 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.4547, allocations: 1.186 MB / 1.24 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.456, allocations: 0.8095 MB / 1.241 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.4574, allocations: 0.7932 MB / 1.241 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.4577, allocations: 152 kB / 1.241 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.4598, allocations: 1.1 MB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.4602, allocations: 434.6 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.4611, allocations: 0.7774 MB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.4644, allocations: 2.36 MB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4644, allocations: 0 / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4644, allocations: 0 / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.72e-05/0.4645, allocations: 0 / 1.246 GB, free: 3.121 MB / 0.9981 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.00404/0.4686, allocations: 1.887 MB / 1.248 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4686, allocations: 8.031 kB / 1.248 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/0.4689, allocations: 168.9 kB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.471, allocations: 325.8 kB / 1.248 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4458/0.9169, allocations: 0.9794 MB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/0.917, allocations: 85.67 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9172, allocations: 107.2 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.9192, allocations: 1.174 MB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.9192, allocations: 1.781 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.9193, allocations: 46.11 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.9194, allocations: 47.09 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.9215, allocations: 1.313 MB / 1.252 GB, free: 187.1 MB / 0.9981 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.004765/0.9263, allocations: 3.834 MB / 1.256 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.9279, allocations: 0.9951 MB / 1.257 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.9285, allocations: 396.5 kB / 1.257 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.9286, allocations: 34.44 kB / 1.257 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009394/0.9296, allocations: 0.5913 MB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 3.516e-06/0.9296, allocations: 0 / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003392/0.933, allocations: 1.444 MB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.9331, allocations: 192.5 kB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.934, allocations: 0.8359 MB / 1.26 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.9341, allocations: 46.2 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.9344, allocations: 0.5254 MB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.9346, allocations: 339.2 kB / 1.261 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.9349, allocations: 177.1 kB / 1.261 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.935, allocations: 344.1 kB / 1.261 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.9355, allocations: 316.6 kB / 1.262 GB, free: 184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.9362, allocations: 478.3 kB / 1.262 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9373, allocations: 0.7802 MB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9374, allocations: 0.875 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001997/0.9394, allocations: 1.027 MB / 1.264 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9394, allocations: 6.734 kB / 1.264 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.9394, allocations: 3.188 kB / 1.264 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.94, allocations: 86.23 kB / 1.264 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.9408, allocations: 206.9 kB / 1.264 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.9425, allocations: 1.635 MB / 1.266 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.9434, allocations: 110.9 kB / 1.266 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.9435, allocations: 40.3 kB / 1.266 GB, free: 181.3 MB / 0.9981 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.0004099/0.9439, allocations: 321.6 kB / 1.266 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.9441, allocations: 111 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.9468, allocations: 1.251 MB / 1.268 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9468, allocations: 12.48 kB / 1.268 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.9468, allocations: 0 / 1.268 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.9469, allocations: 7.219 kB / 1.268 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.9484, allocations: 1.168 MB / 1.269 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.9484, allocations: 0 / 1.269 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.9493, allocations: 210.2 kB / 1.269 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/0.9497, allocations: 73.69 kB / 1.269 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.9498, allocations: 32.11 kB / 1.269 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.9513, allocations: 1.653 MB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9513, allocations: 4.781 kB / 1.271 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.9544, allocations: 1.569 MB / 1.272 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.9548, allocations: 327 kB / 1.273 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.955, allocations: 27.64 kB / 1.273 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008296/0.9558, allocations: 74.17 kB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.956, allocations: 86.48 kB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.9561, allocations: 41.58 kB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001011/0.9572, allocations: 0.5844 MB / 1.273 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9572, allocations: 4.344 kB / 1.273 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001307/0.9585, allocations: 424.8 kB / 1.274 GB, free: 177.1 MB / 0.9981 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.004477/0.963, allocations: 2.646 MB / 1.276 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.9662, allocations: 1.239 MB / 1.278 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.9663, allocations: 1.312 kB / 1.278 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.9673, allocations: 0.5918 MB / 1.278 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.9694, allocations: 498.6 kB / 1.279 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.9817, allocations: 8.652 MB / 1.287 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.9824, allocations: 1.155 MB / 1.288 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001195/0.9836, allocations: 323.3 kB / 1.289 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.9842, allocations: 0.5102 MB / 1.289 GB, free: 169 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9842, allocations: 0 / 1.289 GB, free: 169 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/1.035, allocations: 29.32 MB / 1.318 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.44, allocations: 9.875 kB / 1.318 GB, free: 146.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches