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: 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.001339/0.001339, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001267/0.001267, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.294/1.294, allocations: 222.9 MB / 241.1 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.573/2.573, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.91 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7941, allocations: 159.1 MB / 1.221 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006432/0.8006, allocations: 5.239 MB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.9565, allocations: 150.7 MB / 1.373 GB, free: 5.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009081/0.9575, allocations: 15.94 kB / 1.373 GB, free: 5.895 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.9581, allocations: 206.1 kB / 1.373 GB, free: 5.691 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.96, allocations: 0.5742 MB / 1.374 GB, free: 5.117 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.962, allocations: 0.8553 MB / 1.375 GB, free: 4.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.9637, allocations: 1.459 MB / 1.376 GB, free: 2.805 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.9646, allocations: 0.5996 MB / 1.377 GB, free: 2.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.9654, allocations: 0.5099 MB / 1.377 GB, free: 1.668 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.9661, allocations: 0.5251 MB / 1.378 GB, free: 1.141 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.9663, allocations: 120 kB / 1.378 GB, free: 1.023 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.9672, allocations: 491.6 kB / 1.378 GB, free: 0.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.9675, allocations: 307 kB / 1.379 GB, free: 248 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.968, allocations: 0.5868 MB / 1.379 GB, free: 15.65 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.97, allocations: 1.684 MB / 1.381 GB, free: 13.96 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.9701, allocations: 0 / 1.381 GB, free: 13.96 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9701, allocations: 3.938 kB / 1.381 GB, free: 13.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.9701, allocations: 4 kB / 1.381 GB, free: 13.96 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002609/0.9727, allocations: 1.485 MB / 1.382 GB, free: 12.42 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9728, allocations: 8.625 kB / 1.382 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.9737, allocations: 199.3 kB / 1.382 GB, free: 12.22 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.9749, allocations: 0.7857 MB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.975, allocations: 69.94 kB / 1.383 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.9751, allocations: 91.98 kB / 1.383 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.9767, allocations: 0.9457 MB / 1.384 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.9767, allocations: 4 kB / 1.384 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.9768, allocations: 36 kB / 1.384 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.9769, allocations: 20 kB / 1.384 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.9786, allocations: 1.139 MB / 1.386 GB, free: 9.047 MB / 1.107 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.004125/0.9827, allocations: 2.782 MB / 1.388 GB, free: 6.145 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.9842, allocations: 0.8358 MB / 1.389 GB, free: 5.301 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.9847, allocations: 322.7 kB / 1.389 GB, free: 4.98 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.9848, allocations: 32.67 kB / 1.389 GB, free: 4.949 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008549/0.9857, allocations: 0.5062 MB / 1.39 GB, free: 4.434 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.235e-06/0.9857, allocations: 4 kB / 1.39 GB, free: 4.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003155/0.9889, allocations: 1.243 MB / 1.391 GB, free: 3.156 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.989, allocations: 196.8 kB / 1.391 GB, free: 2.922 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.9898, allocations: 0.6527 MB / 1.392 GB, free: 2.258 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.9899, allocations: 45.64 kB / 1.392 GB, free: 2.207 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.9902, allocations: 412.4 kB / 1.392 GB, free: 1.797 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.9905, allocations: 284 kB / 1.393 GB, free: 1.516 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.9907, allocations: 166.5 kB / 1.393 GB, free: 1.348 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9909, allocations: 390.8 kB / 1.393 GB, free: 0.957 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.9914, allocations: 273.8 kB / 1.393 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.992, allocations: 375.1 kB / 1.394 GB, free: 316 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.9931, allocations: 0.636 MB / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9932, allocations: 0 / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001921/0.9951, allocations: 0.8838 MB / 1.395 GB, free: 14.76 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.9951, allocations: 8 kB / 1.395 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.9951, allocations: 4.094 kB / 1.395 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.9957, allocations: 80.77 kB / 1.395 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.9964, allocations: 171.8 kB / 1.396 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.9986, allocations: 1.635 MB / 1.397 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.9994, allocations: 97.69 kB / 1.397 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.9995, allocations: 35.97 kB / 1.397 GB, free: 12.59 MB / 1.123 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.0005087/1, allocations: 271.4 kB / 1.397 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1, allocations: 90.88 kB / 1.398 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.002, allocations: 1.09 MB / 1.399 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.002, allocations: 12 kB / 1.399 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.003, allocations: 3.984 kB / 1.399 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.003, allocations: 3.984 kB / 1.399 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.004, allocations: 0.9229 MB / 1.4 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.004, allocations: 4 kB / 1.4 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/1.004, allocations: 159.7 kB / 1.4 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/1.005, allocations: 76.72 kB / 1.4 GB, free: 9.898 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/1.005, allocations: 27.97 kB / 1.4 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/1.007, allocations: 1.65 MB / 1.401 GB, free: 8.074 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.007, allocations: 0 / 1.401 GB, free: 8.074 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/1.009, allocations: 1.375 MB / 1.403 GB, free: 6.68 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/1.01, allocations: 283.7 kB / 1.403 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.01, allocations: 19.94 kB / 1.403 GB, free: 6.363 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/1.011, allocations: 67.98 kB / 1.403 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.011, allocations: 68.91 kB / 1.403 GB, free: 6.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/1.011, allocations: 39.97 kB / 1.403 GB, free: 6.191 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005865/1.011, allocations: 471 kB / 1.404 GB, free: 5.734 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/1.011, allocations: 0 / 1.404 GB, free: 5.734 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009054/1.012, allocations: 335.2 kB / 1.404 GB, free: 5.406 MB / 1.123 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.001404/1.014, allocations: 0.6145 MB / 1.405 GB, free: 4.965 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.015, allocations: 0.8587 MB / 1.405 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.015, allocations: 4 kB / 1.405 GB, free: 4.09 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/1.016, allocations: 0.5237 MB / 1.406 GB, free: 3.551 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.018, allocations: 300.1 kB / 1.406 GB, free: 3.277 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/1.021, allocations: 1.893 MB / 1.408 GB, free: 1.359 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/1.022, allocations: 1.039 MB / 1.409 GB, free: 296 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.022, allocations: 119.4 kB / 1.409 GB, free: 176 kB / 1.123 GB Notification: Performance of SimCode: time 1.092e-06/1.022, allocations: 4 kB / 1.409 GB, free: 172 kB / 1.123 GB Notification: Performance of Templates: time 0.027/1.049, allocations: 19.18 MB / 1.428 GB, free: 13.04 MB / 1.154 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=480 -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