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.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.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.008444/0.008445, allocations: 100.1 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.001794/0.001794, allocations: 196 kB / 16.68 MB, free: 5.93 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.416/1.416, 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.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8193, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1828/1.002, allocations: 166.1 MB / 1.369 GB, free: 6.816 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01381/1.016, allocations: 7.812 MB / 1.377 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/1.019, allocations: 31.88 kB / 1.377 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/1.021, allocations: 408.9 kB / 1.378 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/1.026, allocations: 1.34 MB / 1.379 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/1.03, allocations: 1.179 MB / 1.38 GB, free: 12.03 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004032/1.034, allocations: 2.364 MB / 1.382 GB, free: 9.66 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/1.036, allocations: 1.19 MB / 1.383 GB, free: 8.453 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/1.038, allocations: 0.8329 MB / 1.384 GB, free: 7.617 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/1.04, allocations: 0.7913 MB / 1.385 GB, free: 6.824 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/1.041, allocations: 148 kB / 1.385 GB, free: 6.68 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/1.044, allocations: 1.123 MB / 1.386 GB, free: 5.555 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007257/1.044, allocations: 430.6 kB / 1.387 GB, free: 5.133 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001822/1.046, allocations: 0.7852 MB / 1.387 GB, free: 4.344 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/1.051, allocations: 2.414 MB / 1.39 GB, free: 1.922 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.051, allocations: 0 / 1.39 GB, free: 1.922 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.345e-06/1.051, allocations: 0 / 1.39 GB, free: 1.922 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.047e-05/1.051, allocations: 0 / 1.39 GB, free: 1.922 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004978/1.056, allocations: 1.875 MB / 1.392 GB, free: 15.98 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.056, allocations: 12.03 kB / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004457/1.057, allocations: 168.9 kB / 1.392 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/1.059, allocations: 329.8 kB / 1.392 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/1.061, allocations: 1.022 MB / 1.393 GB, free: 14.4 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/1.061, allocations: 82.2 kB / 1.393 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.062, allocations: 108 kB / 1.393 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.064, allocations: 1.172 MB / 1.394 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/1.064, allocations: 3.938 kB / 1.394 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/1.065, allocations: 51.98 kB / 1.394 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/1.065, allocations: 42.06 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/1.067, allocations: 1.312 MB / 1.396 GB, free: 11.55 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.007247/1.074, allocations: 3.806 MB / 1.4 GB, free: 7.535 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/1.076, allocations: 0.9981 MB / 1.401 GB, free: 6.539 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/1.077, allocations: 393.2 kB / 1.401 GB, free: 6.152 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.077, allocations: 40.95 kB / 1.401 GB, free: 6.113 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/1.078, allocations: 0.5875 MB / 1.402 GB, free: 5.508 MB / 1.123 GB Notification: Performance of pre-optimization done (n=102): time 3.717e-06/1.078, allocations: 0 / 1.402 GB, free: 5.508 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.003982/1.082, allocations: 1.446 MB / 1.403 GB, free: 4.035 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.083, allocations: 188.9 kB / 1.403 GB, free: 3.805 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.084, allocations: 0.838 MB / 1.404 GB, free: 2.941 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.084, allocations: 49.7 kB / 1.404 GB, free: 2.887 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/1.085, allocations: 0.5236 MB / 1.404 GB, free: 2.355 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/1.085, allocations: 347.1 kB / 1.405 GB, free: 2.012 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/1.085, allocations: 178.5 kB / 1.405 GB, free: 1.832 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.085, allocations: 341.9 kB / 1.405 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/1.086, allocations: 313.8 kB / 1.406 GB, free: 1.188 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/1.087, allocations: 482.2 kB / 1.406 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.089, allocations: 0.7777 MB / 1.407 GB, free: 15.86 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.089, allocations: 0 / 1.407 GB, free: 15.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002607/1.091, allocations: 1.024 MB / 1.408 GB, free: 14.83 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.091, allocations: 8 kB / 1.408 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.091, allocations: 0 / 1.408 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/1.092, allocations: 88.98 kB / 1.408 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/1.093, allocations: 207.7 kB / 1.408 GB, free: 14.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/1.095, allocations: 1.63 MB / 1.41 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.096, allocations: 115.1 kB / 1.41 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/1.097, allocations: 35.98 kB / 1.41 GB, free: 12.61 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.0006797/1.097, allocations: 317.5 kB / 1.41 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/1.098, allocations: 110.7 kB / 1.41 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.1, allocations: 1.248 MB / 1.411 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.101, allocations: 12 kB / 1.411 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.101, allocations: 0 / 1.411 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.101, allocations: 11.97 kB / 1.411 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.102, allocations: 1.169 MB / 1.413 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.102, allocations: 0 / 1.413 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/1.103, allocations: 207.7 kB / 1.413 GB, free: 9.469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/1.104, allocations: 72.8 kB / 1.413 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/1.104, allocations: 27.97 kB / 1.413 GB, free: 9.367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.106, allocations: 1.67 MB / 1.415 GB, free: 7.555 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.106, allocations: 0 / 1.415 GB, free: 7.555 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.109, allocations: 1.566 MB / 1.416 GB, free: 5.965 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/1.11, allocations: 323.2 kB / 1.416 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/1.11, allocations: 35.92 kB / 1.416 GB, free: 5.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.111, allocations: 63.94 kB / 1.416 GB, free: 5.531 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.111, allocations: 84.88 kB / 1.417 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.112, allocations: 44.05 kB / 1.417 GB, free: 5.406 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001068/1.113, allocations: 0.586 MB / 1.417 GB, free: 4.809 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.113, allocations: 0 / 1.417 GB, free: 4.809 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001256/1.114, allocations: 423 kB / 1.418 GB, free: 4.395 MB / 1.139 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.005012/1.119, allocations: 2.631 MB / 1.42 GB, free: 1.914 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002214/1.121, allocations: 0.9756 MB / 1.421 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.121, allocations: 0 / 1.421 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.122, allocations: 0.6022 MB / 1.422 GB, free: 316 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.125, allocations: 493.8 kB / 1.422 GB, free: 15.86 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/1.14, allocations: 8.205 MB / 1.43 GB, free: 7.465 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/1.141, allocations: 1.169 MB / 1.431 GB, free: 6.27 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001275/1.143, allocations: 325.1 kB / 1.432 GB, free: 5.949 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/1.144, allocations: 0.5149 MB / 1.432 GB, free: 5.434 MB / 1.154 GB Notification: Performance of SimCode: time 1.202e-06/1.144, allocations: 0 / 1.432 GB, free: 5.434 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/1.212, allocations: 29.59 MB / 1.461 GB, free: 8.215 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.62, allocations: 16.45 kB / 1.461 GB, free: 8.199 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 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.mat","/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