Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001352/0.001352, allocations: 187 kB / 17.34 MB, free: 5.723 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8196, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006176/0.8258, allocations: 4.938 MB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.9848, allocations: 150.6 MB / 1.36 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.9859, allocations: 19.88 kB / 1.36 GB, free: 1.484 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008795/0.9868, allocations: 182.3 kB / 1.36 GB, free: 1.305 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.9892, allocations: 0.5504 MB / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.9917, allocations: 0.8296 MB / 1.362 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.9938, allocations: 1.377 MB / 1.363 GB, free: 14.55 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.995, allocations: 0.5831 MB / 1.364 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.9958, allocations: 482.4 kB / 1.364 GB, free: 13.48 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007765/0.9966, allocations: 497.8 kB / 1.365 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.9968, allocations: 112 kB / 1.365 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.9979, allocations: 491.6 kB / 1.365 GB, free: 12.4 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.9982, allocations: 299 kB / 1.366 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.9987, allocations: 0.548 MB / 1.366 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/1.001, allocations: 1.606 MB / 1.368 GB, free: 9.945 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.001, allocations: 4 kB / 1.368 GB, free: 9.941 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/1.001, allocations: 0 / 1.368 GB, free: 9.941 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.001, allocations: 0 / 1.368 GB, free: 9.941 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002408/1.003, allocations: 1.426 MB / 1.369 GB, free: 8.461 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.003, allocations: 12.03 kB / 1.369 GB, free: 8.449 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/1.004, allocations: 191.4 kB / 1.369 GB, free: 8.262 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.005, allocations: 0.7616 MB / 1.37 GB, free: 7.461 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/1.005, allocations: 62 kB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/1.005, allocations: 80 kB / 1.37 GB, free: 7.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/1.007, allocations: 0.9114 MB / 1.371 GB, free: 6.367 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.007, allocations: 4 kB / 1.371 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/1.007, allocations: 36 kB / 1.371 GB, free: 6.328 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.007, allocations: 20 kB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.009, allocations: 1.097 MB / 1.372 GB, free: 5.211 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.003954/1.013, allocations: 2.744 MB / 1.375 GB, free: 2.348 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/1.014, allocations: 0.7769 MB / 1.376 GB, free: 1.562 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/1.015, allocations: 294.6 kB / 1.376 GB, free: 1.273 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/1.015, allocations: 36.61 kB / 1.376 GB, free: 1.234 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008625/1.016, allocations: 491 kB / 1.376 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/1.016, allocations: 0 / 1.376 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003125/1.019, allocations: 1.174 MB / 1.377 GB, free: 15.54 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.019, allocations: 188.6 kB / 1.378 GB, free: 15.31 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/1.02, allocations: 0.6332 MB / 1.378 GB, free: 14.66 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/1.02, allocations: 45.69 kB / 1.378 GB, free: 14.61 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/1.02, allocations: 396.3 kB / 1.379 GB, free: 14.22 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/1.02, allocations: 256.4 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.021, allocations: 158.5 kB / 1.379 GB, free: 13.8 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.021, allocations: 390.7 kB / 1.379 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/1.021, allocations: 261.9 kB / 1.38 GB, free: 13.16 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/1.022, allocations: 372 kB / 1.38 GB, free: 12.78 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.023, allocations: 0.6003 MB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.023, allocations: 0 / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001963/1.025, allocations: 0.8448 MB / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.025, allocations: 8 kB / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.025, allocations: 0 / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/1.026, allocations: 88.83 kB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/1.026, allocations: 159.7 kB / 1.382 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/1.028, allocations: 1.63 MB / 1.383 GB, free: 9.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/1.029, allocations: 89.23 kB / 1.383 GB, free: 9.188 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/1.029, allocations: 44.03 kB / 1.383 GB, free: 9.145 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004723/1.03, allocations: 275.2 kB / 1.384 GB, free: 8.867 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.03, allocations: 79.05 kB / 1.384 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.032, allocations: 1.05 MB / 1.385 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.032, allocations: 8 kB / 1.385 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.032, allocations: 3.938 kB / 1.385 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.032, allocations: 3.984 kB / 1.385 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.033, allocations: 0.8762 MB / 1.386 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.033, allocations: 0 / 1.386 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/1.034, allocations: 143.8 kB / 1.386 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/1.034, allocations: 68.8 kB / 1.386 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/1.034, allocations: 27.97 kB / 1.386 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/1.036, allocations: 1.666 MB / 1.388 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.036, allocations: 0 / 1.388 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/1.038, allocations: 0.9122 MB / 1.388 GB, free: 3.797 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/1.039, allocations: 271.9 kB / 1.389 GB, free: 3.512 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.039, allocations: 23.97 kB / 1.389 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/1.039, allocations: 59.94 kB / 1.389 GB, free: 3.43 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.039, allocations: 64.91 kB / 1.389 GB, free: 3.367 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/1.04, allocations: 39.91 kB / 1.389 GB, free: 3.328 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005903/1.04, allocations: 459 kB / 1.389 GB, free: 2.883 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.04, allocations: 4 kB / 1.389 GB, free: 2.879 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008536/1.041, allocations: 319.2 kB / 1.39 GB, free: 2.566 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001394/1.042, allocations: 0.6022 MB / 1.39 GB, free: 2.141 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.044, allocations: 0.8237 MB / 1.391 GB, free: 1.305 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.044, allocations: 0 / 1.391 GB, free: 1.305 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/1.045, allocations: 0.4964 MB / 1.391 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.046, allocations: 302.9 kB / 1.392 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/1.049, allocations: 1.692 MB / 1.393 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/1.05, allocations: 1.023 MB / 1.394 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.05, allocations: 111.4 kB / 1.395 GB, free: 13.65 MB / 1.123 GB Notification: Performance of SimCode: time 6.11e-07/1.05, allocations: 0 / 1.395 GB, free: 13.65 MB / 1.123 GB Notification: Performance of Templates: time 0.02576/1.076, allocations: 18.44 MB / 1.413 GB, free: 11.25 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches