Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.004235/0.004235, allocations: 99.41 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.41 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2866, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.0105/0.2972, allocations: 5.233 MB / 1.247 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1959/0.4931, allocations: 150.7 MB / 1.394 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.4938, allocations: 15.94 kB / 1.394 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.4944, allocations: 202.1 kB / 1.394 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.496, allocations: 0.5586 MB / 1.394 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.4979, allocations: 0.8477 MB / 1.395 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.4994, allocations: 1.451 MB / 1.397 GB, free: 9.652 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008971/0.5003, allocations: 0.6035 MB / 1.397 GB, free: 9.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.5009, allocations: 0.4905 MB / 1.398 GB, free: 8.527 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.5016, allocations: 0.5307 MB / 1.398 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.5018, allocations: 124 kB / 1.398 GB, free: 7.875 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.5026, allocations: 495.6 kB / 1.399 GB, free: 7.391 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.5029, allocations: 303 kB / 1.399 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.5035, allocations: 0.5907 MB / 1.4 GB, free: 6.5 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.5054, allocations: 1.693 MB / 1.401 GB, free: 4.801 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5054, allocations: 0 / 1.401 GB, free: 4.801 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5054, allocations: 0 / 1.401 GB, free: 4.801 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.5054, allocations: 0 / 1.401 GB, free: 4.801 MB / 1.123 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.002677/0.5081, allocations: 1.53 MB / 1.403 GB, free: 3.223 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5082, allocations: 12.03 kB / 1.403 GB, free: 3.211 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.5083, allocations: 139.7 kB / 1.403 GB, free: 3.066 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/0.5093, allocations: 196 kB / 1.403 GB, free: 2.875 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5105, allocations: 0.8017 MB / 1.404 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.5106, allocations: 66 kB / 1.404 GB, free: 1.965 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5107, allocations: 87.94 kB / 1.404 GB, free: 1.879 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.5124, allocations: 0.9574 MB / 1.405 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.5125, allocations: 3.953 kB / 1.405 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.5126, allocations: 39.98 kB / 1.405 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.5126, allocations: 24 kB / 1.405 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.5146, allocations: 1.132 MB / 1.406 GB, free: 15.68 MB / 1.139 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.004375/0.519, allocations: 2.866 MB / 1.409 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5208, allocations: 0.8513 MB / 1.41 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.5214, allocations: 318.7 kB / 1.41 GB, free: 11.5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.764e-05/0.5215, allocations: 38.73 kB / 1.41 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009957/0.5225, allocations: 0.5041 MB / 1.411 GB, free: 10.94 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.274e-06/0.5225, allocations: 4 kB / 1.411 GB, free: 10.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003439/0.526, allocations: 1.247 MB / 1.412 GB, free: 9.664 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.5261, allocations: 200.8 kB / 1.412 GB, free: 9.426 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/0.527, allocations: 0.645 MB / 1.413 GB, free: 8.773 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.527, allocations: 41.7 kB / 1.413 GB, free: 8.727 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.5274, allocations: 429 kB / 1.413 GB, free: 8.301 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.5276, allocations: 281.6 kB / 1.413 GB, free: 8.023 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.5279, allocations: 150.6 kB / 1.414 GB, free: 7.867 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.5281, allocations: 394.7 kB / 1.414 GB, free: 7.473 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.5287, allocations: 253.9 kB / 1.414 GB, free: 7.227 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.5294, allocations: 370.5 kB / 1.415 GB, free: 6.836 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5307, allocations: 0.6086 MB / 1.415 GB, free: 6.215 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5307, allocations: 0 / 1.415 GB, free: 6.215 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002101/0.5328, allocations: 0.8413 MB / 1.416 GB, free: 5.367 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5328, allocations: 4 kB / 1.416 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5328, allocations: 3.984 kB / 1.416 GB, free: 5.359 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.5335, allocations: 80.88 kB / 1.416 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.5342, allocations: 167.8 kB / 1.416 GB, free: 5.113 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.5365, allocations: 1.638 MB / 1.418 GB, free: 3.328 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.5372, allocations: 95.47 kB / 1.418 GB, free: 3.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.5373, allocations: 31.97 kB / 1.418 GB, free: 3.203 MB / 1.139 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.0004226/0.5377, allocations: 268.4 kB / 1.418 GB, free: 2.934 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.5379, allocations: 91.44 kB / 1.418 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.5406, allocations: 1.097 MB / 1.419 GB, free: 1.738 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5406, allocations: 12 kB / 1.419 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5406, allocations: 4 kB / 1.419 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5406, allocations: 3.984 kB / 1.419 GB, free: 1.719 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5418, allocations: 0.9388 MB / 1.42 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5418, allocations: 3.938 kB / 1.42 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.5425, allocations: 155.8 kB / 1.42 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.543, allocations: 72.78 kB / 1.421 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5431, allocations: 23.98 kB / 1.421 GB, free: 484 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.5452, allocations: 1.666 MB / 1.422 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5453, allocations: 0 / 1.422 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.5482, allocations: 1.372 MB / 1.424 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.5486, allocations: 288.2 kB / 1.424 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5487, allocations: 20 kB / 1.424 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.5494, allocations: 70.09 kB / 1.424 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5496, allocations: 64.91 kB / 1.424 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.5496, allocations: 39.97 kB / 1.424 GB, free: 12.78 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006347/0.5503, allocations: 475 kB / 1.424 GB, free: 12.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5503, allocations: 0 / 1.424 GB, free: 12.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008054/0.5511, allocations: 335.1 kB / 1.425 GB, free: 11.99 MB / 1.154 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.005123/0.5562, allocations: 2.426 MB / 1.427 GB, free: 9.715 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.558, allocations: 0.8275 MB / 1.428 GB, free: 8.875 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.558, allocations: 0 / 1.428 GB, free: 8.875 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5591, allocations: 0.5314 MB / 1.428 GB, free: 8.332 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5604, allocations: 315 kB / 1.429 GB, free: 8.047 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.5717, allocations: 6.537 MB / 1.435 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.5724, allocations: 1.039 MB / 1.436 GB, free: 296 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008092/0.5732, allocations: 274.9 kB / 1.436 GB, free: 16 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/0.5739, allocations: 403.3 kB / 1.437 GB, free: 15.62 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/0.5739, allocations: 0 / 1.437 GB, free: 15.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/0.6326, allocations: 22.27 MB / 1.459 GB, free: 9.633 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.57, allocations: 9.984 kB / 1.459 GB, free: 9.629 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches