Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001043/0.001043, allocations: 190.8 kB / 16.91 MB, free: 5.746 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.14 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2843, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.6653/0.9497, allocations: 154.6 MB / 1.101 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.9824, allocations: 21.5 MB / 1.122 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.9857, allocations: 51.56 kB / 1.122 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.9878, allocations: 1.128 MB / 1.123 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.99, allocations: 0.8144 MB / 1.124 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.9914, allocations: 380.9 kB / 1.124 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9932, allocations: 1.257 MB / 1.125 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.9942, allocations: 0.6888 MB / 1.126 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.9953, allocations: 0.5572 MB / 1.126 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.997, allocations: 0.9529 MB / 1.127 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.9971, allocations: 65.59 kB / 1.127 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.9976, allocations: 110.6 kB / 1.128 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.998, allocations: 339 kB / 1.128 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.9985, allocations: 500 kB / 1.128 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/1, allocations: 0.9245 MB / 1.129 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1, allocations: 0 / 1.129 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/1, allocations: 0.7188 kB / 1.129 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.198e-05/1, allocations: 0 / 1.129 GB, free: 6.645 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002895/1.003, allocations: 1.481 MB / 1.131 GB, free: 21.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.003, allocations: 14.12 kB / 1.131 GB, free: 21.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/1.003, allocations: 136 kB / 1.131 GB, free: 21.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/1.004, allocations: 0.6558 MB / 1.132 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.004, allocations: 74.88 kB / 1.132 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/1.004, allocations: 51.53 kB / 1.132 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/1.005, allocations: 0.5188 MB / 1.132 GB, free: 21.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.005, allocations: 1.25 kB / 1.132 GB, free: 21.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/1.005, allocations: 21.83 kB / 1.132 GB, free: 21.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.005, allocations: 10.94 kB / 1.132 GB, free: 21.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/1.006, allocations: 413.3 kB / 1.133 GB, free: 21.21 MB / 0.8731 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.003975/1.01, allocations: 2.798 MB / 1.135 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/1.011, allocations: 452.4 kB / 1.136 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/1.012, allocations: 289.5 kB / 1.136 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/1.012, allocations: 7.625 kB / 1.136 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008077/1.013, allocations: 303.7 kB / 1.136 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 3.307e-06/1.013, allocations: 2.125 kB / 1.136 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.004444/1.018, allocations: 1.235 MB / 1.138 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.018, allocations: 61.81 kB / 1.138 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/1.022, allocations: 1.751 MB / 1.139 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/1.022, allocations: 40.62 kB / 1.139 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/1.023, allocations: 0.5211 MB / 1.14 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.023, allocations: 147.7 kB / 1.14 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/1.023, allocations: 97 kB / 1.14 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.024, allocations: 328.5 kB / 1.14 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/1.024, allocations: 219.5 kB / 1.141 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/1.025, allocations: 325.6 kB / 1.141 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.027, allocations: 0.5147 MB / 1.141 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.027, allocations: 2.156 kB / 1.141 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002963/1.03, allocations: 0.848 MB / 1.142 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/1.03, allocations: 11.38 kB / 1.142 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.03, allocations: 8.469 kB / 1.142 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/1.031, allocations: 184.4 kB / 1.142 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/1.031, allocations: 93.92 kB / 1.143 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/1.037, allocations: 2.999 MB / 1.145 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.038, allocations: 79.56 kB / 1.146 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.038, allocations: 20.94 kB / 1.146 GB, free: 15.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0011/1.039, allocations: 384.1 kB / 1.146 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/1.04, allocations: 120.1 kB / 1.146 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/1.04, allocations: 140.9 kB / 1.146 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.04, allocations: 6.25 kB / 1.146 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/1.04, allocations: 7.219 kB / 1.146 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.04, allocations: 4.047 kB / 1.146 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/1.045, allocations: 1.562 MB / 1.148 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.045, allocations: 1.062 kB / 1.148 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/1.046, allocations: 47.47 kB / 1.148 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009393/1.047, allocations: 192.3 kB / 1.148 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/1.047, allocations: 11.8 kB / 1.148 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/1.055, allocations: 4.564 MB / 1.152 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/1.055, allocations: 3.094 kB / 1.152 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/1.059, allocations: 1.055 MB / 1.153 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/1.059, allocations: 212.9 kB / 1.154 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/1.06, allocations: 16.36 kB / 1.154 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/1.061, allocations: 33.05 kB / 1.154 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.061, allocations: 53.53 kB / 1.154 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/1.061, allocations: 17.83 kB / 1.154 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003335/1.064, allocations: 1.282 MB / 1.155 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.072e-06/1.064, allocations: 0.875 kB / 1.155 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001947/1.066, allocations: 209.8 kB / 1.155 GB, free: 9.914 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002211/1.069, allocations: 490.1 kB / 1.156 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003124/1.072, allocations: 0.7569 MB / 1.156 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.072, allocations: 3.219 kB / 1.156 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.073, allocations: 0.5481 MB / 1.157 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.076, allocations: 212.8 kB / 1.157 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/1.083, allocations: 2.753 MB / 1.16 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.085, allocations: 1.148 MB / 1.161 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.085, allocations: 47.77 kB / 1.161 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/1.085, allocations: 0 / 1.161 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of Templates: time 0.04349/1.129, allocations: 17.83 MB / 1.178 GB, free: 1.059 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches