Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.004558/0.004558, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001097/0.001097, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.757/2.757, allocations: 469.4 MB / 0.7421 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006834/0.2831, allocations: 4.923 MB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7189/1.002, allocations: 150.6 MB / 1.372 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009261/1.003, allocations: 19.88 kB / 1.372 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/1.004, allocations: 191.9 kB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/1.006, allocations: 0.55 MB / 1.372 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/1.008, allocations: 0.8318 MB / 1.373 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002189/1.01, allocations: 1.373 MB / 1.374 GB, free: 9.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/1.012, allocations: 0.5842 MB / 1.375 GB, free: 9.508 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009312/1.013, allocations: 482.8 kB / 1.376 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/1.013, allocations: 0.4982 MB / 1.376 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/1.014, allocations: 117.4 kB / 1.376 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/1.015, allocations: 485.5 kB / 1.377 GB, free: 8.887 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/1.015, allocations: 290.9 kB / 1.377 GB, free: 8.703 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000555/1.016, allocations: 0.553 MB / 1.377 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/1.017, allocations: 1.621 MB / 1.379 GB, free: 7.543 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.017, allocations: 0 / 1.379 GB, free: 7.543 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/1.017, allocations: 1.219 kB / 1.379 GB, free: 7.543 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.017, allocations: 0 / 1.379 GB, free: 7.543 MB / 1.076 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.002488/1.02, allocations: 1.465 MB / 1.38 GB, free: 6.375 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.02, allocations: 16.53 kB / 1.38 GB, free: 6.371 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/1.02, allocations: 136.1 kB / 1.381 GB, free: 6.258 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/1.021, allocations: 191.8 kB / 1.381 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.022, allocations: 0.7628 MB / 1.381 GB, free: 5.539 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/1.022, allocations: 60.03 kB / 1.382 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.023, allocations: 84.62 kB / 1.382 GB, free: 5.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.024, allocations: 0.9132 MB / 1.383 GB, free: 4.887 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.024, allocations: 5.25 kB / 1.383 GB, free: 4.883 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/1.024, allocations: 36.84 kB / 1.383 GB, free: 4.855 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/1.024, allocations: 19.94 kB / 1.383 GB, free: 4.855 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/1.026, allocations: 1.096 MB / 1.384 GB, free: 4.332 MB / 1.076 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.003977/1.03, allocations: 2.748 MB / 1.386 GB, free: 2.105 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.032, allocations: 0.7849 MB / 1.387 GB, free: 1.715 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/1.032, allocations: 297.1 kB / 1.387 GB, free: 1.566 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/1.032, allocations: 34.98 kB / 1.387 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/1.033, allocations: 484 kB / 1.388 GB, free: 1.238 MB / 1.076 GB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/1.033, allocations: 1.312 kB / 1.388 GB, free: 1.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=78): time 0.003194/1.036, allocations: 1.179 MB / 1.389 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.036, allocations: 200.5 kB / 1.389 GB, free: 376 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/1.037, allocations: 0.6326 MB / 1.39 GB, free: 15.99 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/1.037, allocations: 42.36 kB / 1.39 GB, free: 15.95 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.038, allocations: 401.5 kB / 1.39 GB, free: 15.6 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/1.038, allocations: 273.1 kB / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/1.038, allocations: 143.7 kB / 1.391 GB, free: 15.28 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.038, allocations: 393.2 kB / 1.391 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/1.039, allocations: 243.4 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.039, allocations: 360.9 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.04, allocations: 0.58 MB / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.04, allocations: 0 / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001892/1.042, allocations: 0.7979 MB / 1.393 GB, free: 13.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.042, allocations: 6.344 kB / 1.393 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.042, allocations: 1.562 kB / 1.393 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/1.043, allocations: 86.77 kB / 1.393 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/1.044, allocations: 150.8 kB / 1.393 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.046, allocations: 1.621 MB / 1.395 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/1.047, allocations: 94.09 kB / 1.395 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/1.047, allocations: 35.77 kB / 1.395 GB, free: 12.06 MB / 1.092 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.0003885/1.047, allocations: 267.2 kB / 1.395 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.047, allocations: 87.59 kB / 1.395 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.05, allocations: 1.045 MB / 1.396 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.05, allocations: 9.156 kB / 1.396 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.05, allocations: 5.125 kB / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.05, allocations: 7.922 kB / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.051, allocations: 0.8841 MB / 1.397 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.051, allocations: 1.375 kB / 1.397 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/1.051, allocations: 138.6 kB / 1.397 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/1.052, allocations: 70.92 kB / 1.397 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/1.052, allocations: 27.66 kB / 1.397 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/1.054, allocations: 1.673 MB / 1.399 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.054, allocations: 64 / 1.399 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.056, allocations: 0.921 MB / 1.4 GB, free: 8.32 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/1.056, allocations: 274.9 kB / 1.4 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.056, allocations: 18.72 kB / 1.4 GB, free: 8.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/1.057, allocations: 57.34 kB / 1.4 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.057, allocations: 77.61 kB / 1.4 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/1.057, allocations: 34.55 kB / 1.4 GB, free: 7.98 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006311/1.058, allocations: 469.1 kB / 1.401 GB, free: 7.711 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.31e-07/1.058, allocations: 0 / 1.401 GB, free: 7.711 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008589/1.059, allocations: 316.5 kB / 1.401 GB, free: 7.621 MB / 1.092 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.003354/1.062, allocations: 1.974 MB / 1.403 GB, free: 6.395 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001534/1.063, allocations: 0.7878 MB / 1.404 GB, free: 5.977 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.063, allocations: 3.406 kB / 1.404 GB, free: 5.977 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/1.064, allocations: 0.5037 MB / 1.404 GB, free: 5.691 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.066, allocations: 313.6 kB / 1.405 GB, free: 5.531 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/1.075, allocations: 6.168 MB / 1.411 GB, free: 1.719 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/1.076, allocations: 1.019 MB / 1.412 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007919/1.076, allocations: 258.7 kB / 1.412 GB, free: 428 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/1.077, allocations: 391.3 kB / 1.412 GB, free: 36 kB / 1.092 GB Notification: Performance of SimCode: time 5.01e-07/1.077, allocations: 0 / 1.412 GB, free: 36 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/1.161, allocations: 21.46 MB / 1.433 GB, free: 10.85 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.73, allocations: 5.078 kB / 1.433 GB, free: 10.85 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_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_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches