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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009159/0.009159, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.002315/0.002315, allocations: 188.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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.024/3.024, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007092/0.3121, allocations: 5.239 MB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8554/1.168, allocations: 150.7 MB / 1.36 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/1.169, allocations: 22.09 kB / 1.36 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/1.17, allocations: 198.2 kB / 1.36 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/1.172, allocations: 0.5715 MB / 1.36 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/1.175, allocations: 0.8542 MB / 1.361 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001974/1.177, allocations: 1.448 MB / 1.363 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/1.178, allocations: 0.6091 MB / 1.363 GB, free: 7.156 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008935/1.179, allocations: 0.4992 MB / 1.364 GB, free: 6.906 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/1.18, allocations: 0.5253 MB / 1.364 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/1.18, allocations: 120 kB / 1.364 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/1.181, allocations: 499.5 kB / 1.365 GB, free: 6.516 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/1.182, allocations: 309.1 kB / 1.365 GB, free: 6.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000722/1.182, allocations: 0.5876 MB / 1.366 GB, free: 5.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/1.185, allocations: 1.687 MB / 1.367 GB, free: 5.219 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.185, allocations: 2.109 kB / 1.367 GB, free: 5.219 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.185, allocations: 0 / 1.367 GB, free: 5.219 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.096e-05/1.185, allocations: 1.156 kB / 1.367 GB, free: 5.219 MB / 1.061 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.002613/1.187, allocations: 1.493 MB / 1.369 GB, free: 4.215 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.187, allocations: 15.22 kB / 1.369 GB, free: 4.211 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/1.187, allocations: 141.9 kB / 1.369 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/1.188, allocations: 194.7 kB / 1.369 GB, free: 4.051 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.189, allocations: 0.7855 MB / 1.37 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/1.19, allocations: 65.78 kB / 1.37 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.19, allocations: 83.64 kB / 1.37 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.191, allocations: 0.9537 MB / 1.371 GB, free: 3.047 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/1.191, allocations: 5.094 kB / 1.371 GB, free: 3.043 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/1.191, allocations: 39.06 kB / 1.371 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/1.191, allocations: 21.81 kB / 1.371 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/1.193, allocations: 1.136 MB / 1.372 GB, free: 2.652 MB / 1.061 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.004103/1.197, allocations: 2.775 MB / 1.375 GB, free: 448 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/1.199, allocations: 0.8444 MB / 1.376 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/1.2, allocations: 328.3 kB / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-05/1.2, allocations: 31.94 kB / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009315/1.201, allocations: 0.5024 MB / 1.376 GB, free: 15.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.905e-06/1.201, allocations: 0 / 1.376 GB, free: 15.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003499/1.204, allocations: 1.251 MB / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.204, allocations: 198 kB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.205, allocations: 0.6453 MB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/1.206, allocations: 43.17 kB / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/1.206, allocations: 422.6 kB / 1.379 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/1.206, allocations: 275.1 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.206, allocations: 149.3 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.207, allocations: 394.3 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/1.207, allocations: 258.8 kB / 1.38 GB, free: 12.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/1.208, allocations: 364.8 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.209, allocations: 0.6143 MB / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.209, allocations: 0 / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002032/1.211, allocations: 0.8309 MB / 1.382 GB, free: 12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.211, allocations: 6.469 kB / 1.382 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.211, allocations: 1.281 kB / 1.382 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/1.212, allocations: 83.77 kB / 1.382 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/1.212, allocations: 167.2 kB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/1.214, allocations: 1.635 MB / 1.384 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/1.215, allocations: 101.1 kB / 1.384 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/1.215, allocations: 28.77 kB / 1.384 GB, free: 10.23 MB / 1.076 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.0005098/1.216, allocations: 268.7 kB / 1.384 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.216, allocations: 92.17 kB / 1.384 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/1.218, allocations: 1.089 MB / 1.385 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.218, allocations: 9.625 kB / 1.385 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.218, allocations: 0 / 1.385 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.218, allocations: 11.97 kB / 1.385 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.22, allocations: 0.9276 MB / 1.386 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.22, allocations: 1.219 kB / 1.386 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/1.22, allocations: 153 kB / 1.386 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/1.221, allocations: 81.28 kB / 1.386 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/1.221, allocations: 28.47 kB / 1.386 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/1.223, allocations: 1.65 MB / 1.388 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.223, allocations: 5.438 kB / 1.388 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/1.225, allocations: 1.367 MB / 1.389 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/1.226, allocations: 277.6 kB / 1.389 GB, free: 5.973 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.226, allocations: 25.69 kB / 1.389 GB, free: 5.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/1.227, allocations: 61.95 kB / 1.39 GB, free: 5.922 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.227, allocations: 71.41 kB / 1.39 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/1.227, allocations: 43.25 kB / 1.39 GB, free: 5.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005949/1.227, allocations: 474.6 kB / 1.39 GB, free: 5.602 MB / 1.076 GB Notification: Performance of sort global known variables: time 3e-07/1.227, allocations: 0 / 1.39 GB, free: 5.602 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009747/1.228, allocations: 331.3 kB / 1.39 GB, free: 5.508 MB / 1.076 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.004155/1.233, allocations: 2.43 MB / 1.393 GB, free: 4.043 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001904/1.235, allocations: 0.8173 MB / 1.394 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.235, allocations: 5.812 kB / 1.394 GB, free: 3.613 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.236, allocations: 0.531 MB / 1.394 GB, free: 3.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.237, allocations: 316.5 kB / 1.394 GB, free: 3.148 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.249, allocations: 6.509 MB / 1.401 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/1.249, allocations: 1.041 MB / 1.402 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008908/1.25, allocations: 260.5 kB / 1.402 GB, free: 14.21 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/1.251, allocations: 402.7 kB / 1.402 GB, free: 13.89 MB / 1.092 GB Notification: Performance of SimCode: time 8.92e-07/1.251, allocations: 0 / 1.402 GB, free: 13.89 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/1.302, allocations: 22.25 MB / 1.424 GB, free: 8.594 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.12, allocations: 12 kB / 1.424 GB, free: 8.582 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 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.mat","/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