Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.007572/0.007572, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001884/0.001884, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.747/2.747, allocations: 469.4 MB / 0.7422 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2784, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006574/0.285, allocations: 5.114 MB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7963/1.081, allocations: 150.6 MB / 1.372 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/1.082, allocations: 19.5 kB / 1.372 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000795/1.083, allocations: 196.4 kB / 1.372 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/1.085, allocations: 0.5628 MB / 1.373 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/1.087, allocations: 0.8421 MB / 1.373 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.089, allocations: 1.431 MB / 1.375 GB, free: 9.449 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.09, allocations: 0.5917 MB / 1.375 GB, free: 9.137 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/1.091, allocations: 0.4894 MB / 1.376 GB, free: 8.895 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/1.092, allocations: 0.5125 MB / 1.376 GB, free: 8.625 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/1.093, allocations: 123.3 kB / 1.376 GB, free: 8.621 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/1.094, allocations: 487 kB / 1.377 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004918/1.095, allocations: 302.4 kB / 1.377 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.096, allocations: 0.5834 MB / 1.378 GB, free: 7.926 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/1.099, allocations: 1.668 MB / 1.379 GB, free: 7.086 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.099, allocations: 0 / 1.379 GB, free: 7.086 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.099, allocations: 1.062 kB / 1.379 GB, free: 7.086 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.98e-05/1.099, allocations: 0 / 1.379 GB, free: 7.086 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004097/1.103, allocations: 1.509 MB / 1.381 GB, free: 5.895 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.103, allocations: 9.938 kB / 1.381 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/1.103, allocations: 136.9 kB / 1.381 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.104, allocations: 194.7 kB / 1.381 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/1.106, allocations: 0.7828 MB / 1.382 GB, free: 5.047 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/1.106, allocations: 64.97 kB / 1.382 GB, free: 5.016 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.106, allocations: 87.55 kB / 1.382 GB, free: 4.984 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.108, allocations: 0.9414 MB / 1.383 GB, free: 4.379 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.108, allocations: 0 / 1.383 GB, free: 4.379 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.108, allocations: 38.34 kB / 1.383 GB, free: 4.352 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/1.108, allocations: 20.59 kB / 1.383 GB, free: 4.352 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/1.11, allocations: 1.122 MB / 1.384 GB, free: 3.816 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.004837/1.115, allocations: 2.744 MB / 1.387 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/1.117, allocations: 0.8121 MB / 1.388 GB, free: 1.215 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/1.118, allocations: 317 kB / 1.388 GB, free: 1.055 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/1.118, allocations: 31.95 kB / 1.388 GB, free: 1.039 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/1.119, allocations: 0.4899 MB / 1.389 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/1.119, allocations: 0 / 1.389 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003518/1.122, allocations: 1.212 MB / 1.39 GB, free: 68 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.122, allocations: 198.1 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009718/1.123, allocations: 0.6399 MB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/1.123, allocations: 38.55 kB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/1.124, allocations: 414.4 kB / 1.391 GB, free: 15.06 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/1.124, allocations: 287.5 kB / 1.391 GB, free: 14.81 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.124, allocations: 148.3 kB / 1.391 GB, free: 14.72 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.124, allocations: 390.1 kB / 1.392 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/1.125, allocations: 250.6 kB / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/1.126, allocations: 361 kB / 1.392 GB, free: 14 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.127, allocations: 0.5916 MB / 1.393 GB, free: 13.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.127, allocations: 1.562 kB / 1.393 GB, free: 13.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002102/1.129, allocations: 0.8162 MB / 1.394 GB, free: 13.26 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.129, allocations: 13.19 kB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.129, allocations: 1.438 kB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.13, allocations: 81.05 kB / 1.394 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/1.13, allocations: 157.5 kB / 1.394 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.133, allocations: 1.627 MB / 1.396 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/1.133, allocations: 97.27 kB / 1.396 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/1.133, allocations: 32.33 kB / 1.396 GB, free: 11.5 MB / 1.092 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 (89): * Single equations (assignments): 88 * 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.0004567/1.134, allocations: 268.5 kB / 1.396 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/1.134, allocations: 83.77 kB / 1.396 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.137, allocations: 1.073 MB / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.137, allocations: 9.188 kB / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.137, allocations: 1.125 kB / 1.397 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.137, allocations: 3.984 kB / 1.397 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/1.138, allocations: 0.9162 MB / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.138, allocations: 0 / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/1.139, allocations: 149.3 kB / 1.398 GB, free: 9.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/1.139, allocations: 81.89 kB / 1.398 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/1.139, allocations: 33.53 kB / 1.398 GB, free: 9.848 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.141, allocations: 1.656 MB / 1.4 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.141, allocations: 1.625 kB / 1.4 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.144, allocations: 1.343 MB / 1.401 GB, free: 7.508 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.144, allocations: 277.5 kB / 1.401 GB, free: 7.266 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.145, allocations: 26.2 kB / 1.401 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/1.145, allocations: 61.62 kB / 1.401 GB, free: 7.215 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.145, allocations: 75.67 kB / 1.402 GB, free: 7.176 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/1.146, allocations: 33.83 kB / 1.402 GB, free: 7.164 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005847/1.146, allocations: 472 kB / 1.402 GB, free: 6.895 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.41e-07/1.146, allocations: 0 / 1.402 GB, free: 6.895 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009438/1.147, allocations: 323.1 kB / 1.402 GB, free: 6.805 MB / 1.092 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 (93): * Single equations (assignments): 87 * 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.00442/1.151, allocations: 2.396 MB / 1.405 GB, free: 5.355 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001783/1.153, allocations: 0.8072 MB / 1.405 GB, free: 4.934 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.153, allocations: 6.562 kB / 1.405 GB, free: 4.93 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/1.154, allocations: 0.5176 MB / 1.406 GB, free: 4.637 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.156, allocations: 317.1 kB / 1.406 GB, free: 4.473 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.167, allocations: 6.392 MB / 1.413 GB, free: 15.71 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/1.168, allocations: 1.035 MB / 1.414 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008828/1.169, allocations: 258.7 kB / 1.414 GB, free: 14.39 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/1.169, allocations: 403.3 kB / 1.414 GB, free: 13.99 MB / 1.107 GB Notification: Performance of SimCode: time 8.82e-07/1.169, allocations: 0 / 1.414 GB, free: 13.99 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05336/1.223, allocations: 21.9 MB / 1.436 GB, free: 8.371 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.74, allocations: 4.062 kB / 1.436 GB, free: 8.367 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches