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 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001824/0.001824, allocations: 192.7 kB / 16.91 MB, free: 6.184 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 482.4 MB / 0.755 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.11 kB / 0.924 GB, free: 384 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8129, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007121/0.82, allocations: 5.242 MB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1852/1.005, allocations: 148.4 MB / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/1.007, allocations: 19.88 kB / 1.232 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009733/1.008, allocations: 158.8 kB / 1.233 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/1.011, allocations: 0.4995 MB / 1.233 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/1.013, allocations: 0.751 MB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002313/1.015, allocations: 1.447 MB / 1.235 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.017, allocations: 0.6081 MB / 1.236 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/1.018, allocations: 0.4982 MB / 1.236 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/1.019, allocations: 0.5212 MB / 1.237 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/1.019, allocations: 128 kB / 1.237 GB, free: 372 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/1.02, allocations: 459.6 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/1.02, allocations: 311 kB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006489/1.021, allocations: 0.5829 MB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/1.023, allocations: 1.267 MB / 1.24 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.023, allocations: 0 / 1.24 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/1.023, allocations: 0 / 1.24 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.228e-05/1.023, allocations: 0 / 1.24 GB, free: 13.75 MB / 0.9669 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.002981/1.026, allocations: 1.489 MB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.026, allocations: 12.02 kB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009943/1.027, allocations: 195.3 kB / 1.241 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.028, allocations: 0.7623 MB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/1.028, allocations: 70 kB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.028, allocations: 88 kB / 1.242 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.03, allocations: 0.9496 MB / 1.243 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.03, allocations: 4 kB / 1.243 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.03, allocations: 43.98 kB / 1.243 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.03, allocations: 20 kB / 1.243 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.032, allocations: 1.136 MB / 1.244 GB, free: 8.859 MB / 0.9669 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.005146/1.038, allocations: 2.877 MB / 1.247 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.039, allocations: 0.8501 MB / 1.248 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/1.04, allocations: 322.7 kB / 1.248 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/1.04, allocations: 28.69 kB / 1.248 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009488/1.041, allocations: 0.5062 MB / 1.249 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.735e-06/1.041, allocations: 4 kB / 1.249 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.003548/1.045, allocations: 1.243 MB / 1.25 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.045, allocations: 188.9 kB / 1.25 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/1.046, allocations: 0.6605 MB / 1.251 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/1.046, allocations: 41.7 kB / 1.251 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/1.046, allocations: 412.4 kB / 1.251 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/1.047, allocations: 279.9 kB / 1.251 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/1.047, allocations: 170.5 kB / 1.252 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.047, allocations: 394.7 kB / 1.252 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/1.048, allocations: 273.9 kB / 1.252 GB, free: 388 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/1.048, allocations: 375.1 kB / 1.253 GB, free: 0 / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.049, allocations: 0.632 MB / 1.253 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.049, allocations: 0 / 1.253 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002193/1.052, allocations: 0.8877 MB / 1.254 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.052, allocations: 4 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.052, allocations: 3.984 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/1.052, allocations: 80.88 kB / 1.254 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/1.053, allocations: 175.8 kB / 1.254 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/1.056, allocations: 1.65 MB / 1.256 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/1.056, allocations: 91.33 kB / 1.256 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/1.057, allocations: 35.97 kB / 1.256 GB, free: 12.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0005346/1.057, allocations: 272.7 kB / 1.256 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.057, allocations: 86.97 kB / 1.256 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/1.06, allocations: 1.101 MB / 1.257 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.06, allocations: 8 kB / 1.257 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.06, allocations: 3.984 kB / 1.257 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.06, allocations: 7.922 kB / 1.257 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.061, allocations: 0.923 MB / 1.258 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.061, allocations: 0 / 1.258 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.062, allocations: 155.7 kB / 1.259 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/1.062, allocations: 80.7 kB / 1.259 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/1.062, allocations: 31.97 kB / 1.259 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/1.065, allocations: 1.647 MB / 1.26 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.065, allocations: 4.031 kB / 1.26 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/1.067, allocations: 1.371 MB / 1.262 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/1.068, allocations: 275.7 kB / 1.262 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.068, allocations: 19.94 kB / 1.262 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/1.069, allocations: 74.88 kB / 1.262 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.069, allocations: 72.88 kB / 1.262 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/1.069, allocations: 36.05 kB / 1.262 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006655/1.07, allocations: 479 kB / 1.262 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/1.07, allocations: 0 / 1.262 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009631/1.071, allocations: 343.1 kB / 1.263 GB, free: 5.066 MB / 0.9825 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.001999/1.073, allocations: 0.5892 MB / 1.263 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002765/1.076, allocations: 1.069 MB / 1.264 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.076, allocations: 0 / 1.264 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.077, allocations: 0.5278 MB / 1.265 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.078, allocations: 317.8 kB / 1.265 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/1.082, allocations: 2.326 MB / 1.268 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.083, allocations: 1.039 MB / 1.269 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/1.084, allocations: 119.4 kB / 1.269 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.084, allocations: 0 / 1.269 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02821/1.112, allocations: 19.09 MB / 1.287 GB, free: 12.16 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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