Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001395/0.001395, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.34/1.34, 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.52/2.52, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.98 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7895, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.0067/0.7962, allocations: 5.132 MB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.9509, allocations: 150.6 MB / 1.361 GB, free: 1.254 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009848/0.9519, allocations: 15.94 kB / 1.361 GB, free: 1.238 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.9528, allocations: 202.1 kB / 1.361 GB, free: 1.039 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.9552, allocations: 0.562 MB / 1.361 GB, free: 492 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.9581, allocations: 0.8452 MB / 1.362 GB, free: 15.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.9599, allocations: 1.428 MB / 1.363 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.9609, allocations: 0.5952 MB / 1.364 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.9617, allocations: 498.3 kB / 1.365 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007539/0.9625, allocations: 0.5173 MB / 1.365 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.9627, allocations: 120 kB / 1.365 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009861/0.9637, allocations: 487.6 kB / 1.366 GB, free: 11.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.9641, allocations: 303 kB / 1.366 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.9648, allocations: 0.5752 MB / 1.366 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.967, allocations: 1.672 MB / 1.368 GB, free: 9.441 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9671, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.377e-06/0.9671, allocations: 3.984 kB / 1.368 GB, free: 9.438 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.717e-05/0.9671, allocations: 0 / 1.368 GB, free: 9.438 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003041/0.9702, allocations: 1.45 MB / 1.37 GB, free: 7.934 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.9702, allocations: 16.03 kB / 1.37 GB, free: 7.918 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.9713, allocations: 191.3 kB / 1.37 GB, free: 7.73 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.9726, allocations: 0.7742 MB / 1.37 GB, free: 6.914 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.9727, allocations: 69.98 kB / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9728, allocations: 84 kB / 1.371 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.9744, allocations: 0.934 MB / 1.372 GB, free: 5.789 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.9744, allocations: 0 / 1.372 GB, free: 5.789 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.9745, allocations: 40 kB / 1.372 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.9745, allocations: 20 kB / 1.372 GB, free: 5.73 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.9762, allocations: 1.124 MB / 1.373 GB, free: 4.609 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.003842/0.98, allocations: 2.728 MB / 1.375 GB, free: 1.758 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.9814, allocations: 0.8126 MB / 1.376 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.982, allocations: 306.7 kB / 1.376 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.9821, allocations: 36.61 kB / 1.376 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.9829, allocations: 495.1 kB / 1.377 GB, free: 100 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.584e-06/0.9829, allocations: 4 kB / 1.377 GB, free: 96 kB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003186/0.9861, allocations: 1.207 MB / 1.378 GB, free: 14.86 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9862, allocations: 204.4 kB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008587/0.9871, allocations: 0.6371 MB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.9872, allocations: 49.7 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.9875, allocations: 400.4 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.9877, allocations: 272.1 kB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.988, allocations: 166.5 kB / 1.38 GB, free: 13.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.9881, allocations: 386.7 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.9887, allocations: 265.9 kB / 1.38 GB, free: 12.44 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.9893, allocations: 371.1 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.9904, allocations: 0.6151 MB / 1.381 GB, free: 11.44 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9904, allocations: 0 / 1.381 GB, free: 11.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001925/0.9923, allocations: 0.8681 MB / 1.382 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.9924, allocations: 7.984 kB / 1.382 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9924, allocations: 4 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/0.993, allocations: 80.88 kB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.9937, allocations: 167.7 kB / 1.382 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.9957, allocations: 1.634 MB / 1.384 GB, free: 8.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.9964, allocations: 95.25 kB / 1.384 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.9965, allocations: 39.97 kB / 1.384 GB, free: 8.387 MB / 1.107 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 (97): * Single equations (assignments): 96 * 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.0004313/0.997, allocations: 263.5 kB / 1.384 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.9972, allocations: 86.97 kB / 1.385 GB, free: 8.031 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.9995, allocations: 1.066 MB / 1.386 GB, free: 6.949 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.9995, allocations: 8 kB / 1.386 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.9995, allocations: 0 / 1.386 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.9995, allocations: 3.984 kB / 1.386 GB, free: 6.938 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.001, allocations: 0.9074 MB / 1.386 GB, free: 5.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.001, allocations: 3.984 kB / 1.386 GB, free: 5.977 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/1.001, allocations: 151.8 kB / 1.387 GB, free: 5.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/1.002, allocations: 84.7 kB / 1.387 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/1.002, allocations: 23.98 kB / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.004, allocations: 1.658 MB / 1.388 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.004, allocations: 3.938 kB / 1.388 GB, free: 3.91 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.006, allocations: 1.336 MB / 1.39 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/1.007, allocations: 271.8 kB / 1.39 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/1.007, allocations: 27.94 kB / 1.39 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/1.008, allocations: 65.64 kB / 1.39 GB, free: 2.18 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.008, allocations: 64.91 kB / 1.39 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/1.008, allocations: 39.97 kB / 1.39 GB, free: 2.074 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006405/1.008, allocations: 463 kB / 1.391 GB, free: 1.629 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/1.008, allocations: 4 kB / 1.391 GB, free: 1.625 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009139/1.009, allocations: 331.2 kB / 1.391 GB, free: 1.301 MB / 1.107 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 (93): * Single equations (assignments): 87 * 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.001355/1.011, allocations: 0.5959 MB / 1.391 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.013, allocations: 0.8353 MB / 1.392 GB, free: 36 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.013, allocations: 4 kB / 1.392 GB, free: 32 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009456/1.014, allocations: 0.5196 MB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.015, allocations: 304.8 kB / 1.393 GB, free: 15.22 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/1.018, allocations: 1.817 MB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.019, allocations: 1.032 MB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.019, allocations: 123.4 kB / 1.396 GB, free: 12.19 MB / 1.123 GB Notification: Performance of SimCode: time 6.61e-07/1.019, allocations: 0 / 1.396 GB, free: 12.19 MB / 1.123 GB Notification: Performance of Templates: time 0.02402/1.043, allocations: 18.87 MB / 1.414 GB, free: 9.367 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches