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 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.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.008419/0.008419, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.002065/0.002065, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7421 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.83 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.8133, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007278/0.8206, allocations: 5.232 MB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.9806, allocations: 150.7 MB / 1.372 GB, free: 5.801 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.9814, allocations: 15.94 kB / 1.372 GB, free: 5.785 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.9822, allocations: 206.1 kB / 1.372 GB, free: 5.582 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.9842, allocations: 0.5701 MB / 1.373 GB, free: 5.012 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.9863, allocations: 0.8434 MB / 1.374 GB, free: 4.172 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.9882, allocations: 1.459 MB / 1.375 GB, free: 2.707 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.9893, allocations: 0.6061 MB / 1.376 GB, free: 2.078 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.9901, allocations: 0.4983 MB / 1.376 GB, free: 1.578 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.9909, allocations: 0.5289 MB / 1.377 GB, free: 1.047 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.9911, allocations: 120 kB / 1.377 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.9921, allocations: 491.6 kB / 1.377 GB, free: 460 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.9924, allocations: 311 kB / 1.377 GB, free: 148 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006981/0.9931, allocations: 0.5909 MB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.9951, allocations: 1.694 MB / 1.38 GB, free: 13.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9951, allocations: 7.938 kB / 1.38 GB, free: 13.84 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9951, allocations: 0 / 1.38 GB, free: 13.84 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.9951, allocations: 0 / 1.38 GB, free: 13.84 MB / 1.107 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.002536/0.9977, allocations: 1.526 MB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.9977, allocations: 12.62 kB / 1.381 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.9979, allocations: 139.7 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.9989, allocations: 196 kB / 1.382 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/1, allocations: 0.7979 MB / 1.382 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/1, allocations: 69.94 kB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/1, allocations: 88 kB / 1.382 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.002, allocations: 0.9535 MB / 1.383 GB, free: 9.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.002, allocations: 4 kB / 1.383 GB, free: 9.926 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/1.002, allocations: 40 kB / 1.383 GB, free: 9.887 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.002, allocations: 20 kB / 1.383 GB, free: 9.867 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/1.004, allocations: 1.136 MB / 1.385 GB, free: 8.73 MB / 1.107 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.00408/1.008, allocations: 2.791 MB / 1.387 GB, free: 5.824 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.01, allocations: 0.8513 MB / 1.388 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/1.01, allocations: 322.7 kB / 1.388 GB, free: 4.645 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/1.01, allocations: 38.73 kB / 1.388 GB, free: 4.609 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/1.011, allocations: 0.5003 MB / 1.389 GB, free: 4.098 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.465e-06/1.011, allocations: 3.938 kB / 1.389 GB, free: 4.094 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003183/1.014, allocations: 1.251 MB / 1.39 GB, free: 2.812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/1.014, allocations: 188.9 kB / 1.39 GB, free: 2.586 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/1.015, allocations: 0.649 MB / 1.391 GB, free: 1.926 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.015, allocations: 41.7 kB / 1.391 GB, free: 1.879 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/1.016, allocations: 425 kB / 1.391 GB, free: 1.457 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/1.016, allocations: 293.5 kB / 1.392 GB, free: 1.168 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/1.016, allocations: 158.5 kB / 1.392 GB, free: 1.008 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.016, allocations: 382.8 kB / 1.392 GB, free: 0.625 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/1.017, allocations: 261.9 kB / 1.392 GB, free: 376 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/1.017, allocations: 366.5 kB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.018, allocations: 0.6086 MB / 1.393 GB, free: 15.37 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.018, allocations: 4 kB / 1.393 GB, free: 15.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001859/1.02, allocations: 0.8374 MB / 1.394 GB, free: 14.51 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.02, allocations: 9.562 kB / 1.394 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.02, allocations: 3.984 kB / 1.394 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/1.021, allocations: 88.8 kB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/1.022, allocations: 155.8 kB / 1.394 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/1.024, allocations: 1.638 MB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/1.024, allocations: 91.59 kB / 1.396 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/1.024, allocations: 32.05 kB / 1.396 GB, free: 12.36 MB / 1.123 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.0003811/1.025, allocations: 278.2 kB / 1.396 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/1.025, allocations: 95.44 kB / 1.397 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/1.027, allocations: 1.093 MB / 1.398 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.027, allocations: 8 kB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/1.027, allocations: 0 / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.027, allocations: 11.98 kB / 1.398 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.028, allocations: 0.9271 MB / 1.399 GB, free: 9.879 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.028, allocations: 7.875 kB / 1.399 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/1.029, allocations: 159.8 kB / 1.399 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/1.029, allocations: 72.78 kB / 1.399 GB, free: 9.641 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/1.03, allocations: 27.98 kB / 1.399 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.031, allocations: 1.67 MB / 1.4 GB, free: 7.797 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.031, allocations: 4.031 kB / 1.4 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/1.034, allocations: 1.368 MB / 1.402 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/1.034, allocations: 284.2 kB / 1.402 GB, free: 6.109 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.035, allocations: 20 kB / 1.402 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/1.035, allocations: 63.94 kB / 1.402 GB, free: 6.027 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.035, allocations: 76.89 kB / 1.402 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/1.035, allocations: 39.97 kB / 1.402 GB, free: 5.914 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005652/1.036, allocations: 467 kB / 1.403 GB, free: 5.461 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 1.403 GB, free: 5.461 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000816/1.037, allocations: 339.1 kB / 1.403 GB, free: 5.129 MB / 1.123 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.004116/1.041, allocations: 2.42 MB / 1.405 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001853/1.043, allocations: 0.8236 MB / 1.406 GB, free: 2.02 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.043, allocations: 0 / 1.406 GB, free: 2.02 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/1.044, allocations: 0.5276 MB / 1.407 GB, free: 1.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.045, allocations: 309.1 kB / 1.407 GB, free: 1.199 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.056, allocations: 6.546 MB / 1.413 GB, free: 10.5 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/1.057, allocations: 1.039 MB / 1.414 GB, free: 9.426 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008128/1.058, allocations: 270.9 kB / 1.415 GB, free: 9.156 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.058, allocations: 403.3 kB / 1.415 GB, free: 8.762 MB / 1.139 GB Notification: Performance of SimCode: time 6.71e-07/1.058, allocations: 0 / 1.415 GB, free: 8.762 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/1.112, allocations: 22.26 MB / 1.437 GB, free: 2.797 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.83, allocations: 5.781 kB / 1.437 GB, free: 2.793 MB / 1.154 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 50 --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