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 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.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.007046/0.007046, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001694/0.001694, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.78/2.78, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.7984/1.093, allocations: 166.1 MB / 1.382 GB, free: 4.004 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01272/1.106, allocations: 7.812 MB / 1.39 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.108, allocations: 35.69 kB / 1.39 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/1.109, allocations: 400.9 kB / 1.39 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004068/1.113, allocations: 1.349 MB / 1.391 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/1.116, allocations: 1.172 MB / 1.392 GB, free: 11.63 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003198/1.119, allocations: 2.369 MB / 1.395 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/1.121, allocations: 1.19 MB / 1.396 GB, free: 9.398 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/1.123, allocations: 0.8296 MB / 1.397 GB, free: 8.898 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.125, allocations: 0.7973 MB / 1.398 GB, free: 8.363 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004372/1.125, allocations: 154.6 kB / 1.398 GB, free: 8.359 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/1.128, allocations: 1.121 MB / 1.399 GB, free: 7.824 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006121/1.129, allocations: 423.2 kB / 1.399 GB, free: 7.504 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.13, allocations: 0.7877 MB / 1.4 GB, free: 6.941 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004291/1.135, allocations: 2.413 MB / 1.402 GB, free: 5.262 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.135, allocations: 0 / 1.402 GB, free: 5.262 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.793e-06/1.135, allocations: 0 / 1.402 GB, free: 5.262 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.183e-05/1.135, allocations: 1.406 kB / 1.402 GB, free: 5.262 MB / 1.092 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.005115/1.14, allocations: 1.935 MB / 1.404 GB, free: 3.773 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.14, allocations: 10.47 kB / 1.404 GB, free: 3.773 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/1.14, allocations: 170.5 kB / 1.404 GB, free: 3.633 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.142, allocations: 336.1 kB / 1.405 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.145, allocations: 1.032 MB / 1.406 GB, free: 2.656 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/1.145, allocations: 87.52 kB / 1.406 GB, free: 2.613 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.145, allocations: 107.5 kB / 1.406 GB, free: 2.578 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/1.147, allocations: 1.172 MB / 1.407 GB, free: 1.816 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.147, allocations: 1.562 kB / 1.407 GB, free: 1.816 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.147, allocations: 50.56 kB / 1.407 GB, free: 1.777 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/1.147, allocations: 42.16 kB / 1.407 GB, free: 1.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/1.15, allocations: 1.309 MB / 1.408 GB, free: 1.137 MB / 1.092 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.006007/1.156, allocations: 3.825 MB / 1.412 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/1.158, allocations: 1.001 MB / 1.413 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/1.158, allocations: 399.1 kB / 1.413 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/1.158, allocations: 38.14 kB / 1.414 GB, free: 13.28 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/1.159, allocations: 0.5757 MB / 1.414 GB, free: 12.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/1.159, allocations: 4 kB / 1.414 GB, free: 12.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=102): time 0.003732/1.163, allocations: 1.449 MB / 1.415 GB, free: 12.14 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/1.163, allocations: 193.1 kB / 1.416 GB, free: 11.92 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.164, allocations: 0.8312 MB / 1.416 GB, free: 11.44 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/1.164, allocations: 48.55 kB / 1.417 GB, free: 11.39 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/1.165, allocations: 0.5316 MB / 1.417 GB, free: 10.92 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/1.165, allocations: 358.5 kB / 1.417 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.165, allocations: 179 kB / 1.418 GB, free: 10.5 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.166, allocations: 348 kB / 1.418 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/1.166, allocations: 314.5 kB / 1.418 GB, free: 10.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/1.167, allocations: 475 kB / 1.419 GB, free: 9.691 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/1.168, allocations: 0.7731 MB / 1.419 GB, free: 9.137 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.168, allocations: 4 kB / 1.419 GB, free: 9.133 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002378/1.171, allocations: 1.033 MB / 1.42 GB, free: 8.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.171, allocations: 8 kB / 1.42 GB, free: 8.082 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.171, allocations: 4 kB / 1.42 GB, free: 8.078 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.171, allocations: 80.81 kB / 1.42 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/1.172, allocations: 207.7 kB / 1.421 GB, free: 7.793 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/1.174, allocations: 1.646 MB / 1.422 GB, free: 6.004 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.176, allocations: 103.4 kB / 1.422 GB, free: 5.902 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.176, allocations: 44.8 kB / 1.422 GB, free: 5.859 MB / 1.107 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.0004879/1.176, allocations: 326.1 kB / 1.423 GB, free: 5.531 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.176, allocations: 119.2 kB / 1.423 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/1.179, allocations: 1.241 MB / 1.424 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.179, allocations: 15.94 kB / 1.424 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.179, allocations: 0 / 1.424 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.179, allocations: 7.969 kB / 1.424 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/1.181, allocations: 1.173 MB / 1.425 GB, free: 2.91 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.181, allocations: 3.938 kB / 1.425 GB, free: 2.906 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/1.182, allocations: 207.8 kB / 1.425 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.182, allocations: 76.78 kB / 1.426 GB, free: 2.625 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.182, allocations: 23.98 kB / 1.426 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.184, allocations: 1.658 MB / 1.427 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.184, allocations: 3.938 kB / 1.427 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/1.187, allocations: 1.575 MB / 1.429 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/1.188, allocations: 335.9 kB / 1.429 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.188, allocations: 28 kB / 1.429 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009218/1.189, allocations: 62.52 kB / 1.429 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.189, allocations: 84.88 kB / 1.429 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/1.189, allocations: 43.97 kB / 1.429 GB, free: 14.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007706/1.19, allocations: 0.5821 MB / 1.43 GB, free: 14.05 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.71e-07/1.19, allocations: 0 / 1.43 GB, free: 14.05 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001092/1.191, allocations: 439 kB / 1.43 GB, free: 13.62 MB / 1.123 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.004737/1.196, allocations: 2.658 MB / 1.433 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.198, allocations: 0.9721 MB / 1.434 GB, free: 10.13 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.198, allocations: 0 / 1.434 GB, free: 10.13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.199, allocations: 0.5939 MB / 1.434 GB, free: 9.523 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.201, allocations: 498 kB / 1.435 GB, free: 9.059 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.214, allocations: 8.253 MB / 1.443 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/1.215, allocations: 1.154 MB / 1.444 GB, free: 15.44 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001073/1.216, allocations: 329.1 kB / 1.444 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/1.217, allocations: 0.511 MB / 1.445 GB, free: 14.6 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/1.217, allocations: 0 / 1.445 GB, free: 14.6 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/1.279, allocations: 29.6 MB / 1.474 GB, free: 1.375 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.56, allocations: 3.938 kB / 1.474 GB, free: 1.371 MB / 1.154 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 50 --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