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 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.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.00183/0.00183, allocations: 112.5 kB / 15.73 MB, free: 76 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.001956/0.001956, allocations: 189.9 kB / 16.67 MB, free: 6.582 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.86 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.283, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6932/0.9763, allocations: 166.1 MB / 1.404 GB, free: 9.52 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.9883, allocations: 7.817 MB / 1.411 GB, free: 3.195 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.989, allocations: 35.12 kB / 1.411 GB, free: 3.184 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.99, allocations: 396.4 kB / 1.412 GB, free: 2.848 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.993, allocations: 1.323 MB / 1.413 GB, free: 1.828 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.9955, allocations: 1.173 MB / 1.414 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.998, allocations: 2.362 MB / 1.416 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.9995, allocations: 1.191 MB / 1.418 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/1.001, allocations: 0.8317 MB / 1.418 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.002, allocations: 0.7946 MB / 1.419 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/1.002, allocations: 150.5 kB / 1.419 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/1.004, allocations: 1.126 MB / 1.42 GB, free: 13.13 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/1.005, allocations: 426.9 kB / 1.421 GB, free: 12.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000759/1.005, allocations: 0.7844 MB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002917/1.008, allocations: 2.416 MB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.008, allocations: 0 / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/1.008, allocations: 1.188 kB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.008, allocations: 0 / 1.424 GB, free: 10.56 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003288/1.012, allocations: 1.94 MB / 1.426 GB, free: 9.07 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/1.012, allocations: 19.23 kB / 1.426 GB, free: 9.062 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/1.012, allocations: 163.4 kB / 1.426 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/1.014, allocations: 334.7 kB / 1.426 GB, free: 8.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.015, allocations: 1.028 MB / 1.427 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/1.015, allocations: 83.42 kB / 1.427 GB, free: 7.918 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.016, allocations: 107 kB / 1.428 GB, free: 7.883 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/1.018, allocations: 1.179 MB / 1.429 GB, free: 7.113 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.018, allocations: 0 / 1.429 GB, free: 7.113 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.018, allocations: 45.16 kB / 1.429 GB, free: 7.082 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/1.018, allocations: 40.81 kB / 1.429 GB, free: 7.074 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/1.02, allocations: 1.31 MB / 1.43 GB, free: 6.426 MB / 1.123 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.005764/1.026, allocations: 3.886 MB / 1.434 GB, free: 2.316 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/1.028, allocations: 1.001 MB / 1.435 GB, free: 1.312 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/1.028, allocations: 400.5 kB / 1.435 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.221e-05/1.029, allocations: 37.03 kB / 1.435 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.03, allocations: 0.5943 MB / 1.436 GB, free: 276 kB / 1.123 GB Notification: Performance of pre-optimization done (n=102): time 2.374e-06/1.03, allocations: 0 / 1.436 GB, free: 276 kB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.00389/1.034, allocations: 1.443 MB / 1.437 GB, free: 14.8 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.034, allocations: 192.9 kB / 1.437 GB, free: 14.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.035, allocations: 0.8302 MB / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/1.035, allocations: 49.69 kB / 1.438 GB, free: 13.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/1.035, allocations: 0.5324 MB / 1.439 GB, free: 13.12 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/1.036, allocations: 356.8 kB / 1.439 GB, free: 12.77 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.036, allocations: 182.6 kB / 1.439 GB, free: 12.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.036, allocations: 345.9 kB / 1.44 GB, free: 12.24 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/1.037, allocations: 309.8 kB / 1.44 GB, free: 11.94 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/1.038, allocations: 475.7 kB / 1.44 GB, free: 11.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.039, allocations: 0.7736 MB / 1.441 GB, free: 10.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.039, allocations: 0 / 1.441 GB, free: 10.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002422/1.042, allocations: 1.033 MB / 1.442 GB, free: 9.582 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.042, allocations: 9.875 kB / 1.442 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.042, allocations: 0 / 1.442 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/1.042, allocations: 88.92 kB / 1.442 GB, free: 9.484 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/1.043, allocations: 203.7 kB / 1.442 GB, free: 9.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.046, allocations: 1.648 MB / 1.444 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/1.047, allocations: 107.4 kB / 1.444 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/1.047, allocations: 44.97 kB / 1.444 GB, free: 7.344 MB / 1.139 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.0004786/1.047, allocations: 318.1 kB / 1.445 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.047, allocations: 119.2 kB / 1.445 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/1.05, allocations: 1.25 MB / 1.446 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.05, allocations: 12 kB / 1.446 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.05, allocations: 0 / 1.446 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.05, allocations: 3.984 kB / 1.446 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.052, allocations: 1.177 MB / 1.447 GB, free: 4.398 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.052, allocations: 0 / 1.447 GB, free: 4.398 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/1.053, allocations: 207.7 kB / 1.447 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004696/1.053, allocations: 76.78 kB / 1.447 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/1.053, allocations: 31.97 kB / 1.447 GB, free: 4.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.056, allocations: 1.65 MB / 1.449 GB, free: 2.293 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.056, allocations: 3.938 kB / 1.449 GB, free: 2.289 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/1.059, allocations: 1.582 MB / 1.45 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/1.059, allocations: 331.9 kB / 1.451 GB, free: 348 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/1.06, allocations: 28 kB / 1.451 GB, free: 320 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/1.06, allocations: 67.92 kB / 1.451 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.061, allocations: 80.89 kB / 1.451 GB, free: 172 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/1.061, allocations: 43.97 kB / 1.451 GB, free: 128 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008284/1.062, allocations: 0.5783 MB / 1.452 GB, free: 15.53 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 7.938 kB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009882/1.063, allocations: 435 kB / 1.452 GB, free: 15.1 MB / 1.154 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.005527/1.068, allocations: 2.652 MB / 1.455 GB, free: 12.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.07, allocations: 0.9759 MB / 1.456 GB, free: 11.61 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.07, allocations: 0 / 1.456 GB, free: 11.61 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.071, allocations: 0.5977 MB / 1.456 GB, free: 11 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.073, allocations: 0.49 MB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.087, allocations: 8.253 MB / 1.465 GB, free: 2.102 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.088, allocations: 1.146 MB / 1.466 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001003/1.089, allocations: 341 kB / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/1.09, allocations: 0.511 MB / 1.467 GB, free: 80 kB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/1.09, allocations: 3.938 kB / 1.467 GB, free: 76 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06931/1.159, allocations: 29.59 MB / 1.495 GB, free: 2.848 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.77, allocations: 2.469 kB / 1.495 GB, free: 2.848 MB / 1.186 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 400 --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