Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 195.8 kB / 16.53 MB, free: 6.656 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.089/2.089, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 75.86 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.5778, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1584/0.7363, allocations: 156.7 MB / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.7579, allocations: 21.75 MB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.7594, allocations: 55.69 kB / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.7608, allocations: 1.153 MB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.7619, allocations: 0.8562 MB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009252/0.7628, allocations: 441.9 kB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.7639, allocations: 1.255 MB / 1.128 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.7646, allocations: 0.6811 MB / 1.128 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.7651, allocations: 0.5491 MB / 1.129 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.766, allocations: 0.9176 MB / 1.13 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.7661, allocations: 64 kB / 1.13 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.7663, allocations: 108 kB / 1.13 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.7666, allocations: 324.7 kB / 1.13 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.7669, allocations: 496.8 kB / 1.131 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.7679, allocations: 1.187 MB / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7679, allocations: 0 / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7679, allocations: 0 / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7679, allocations: 0 / 1.132 GB, free: 6.66 MB / 0.8887 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.001892/0.7698, allocations: 1.467 MB / 1.133 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.7698, allocations: 15.97 kB / 1.133 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.77, allocations: 135.2 kB / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.7707, allocations: 0.655 MB / 1.134 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.7708, allocations: 70.69 kB / 1.134 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.7709, allocations: 51.91 kB / 1.134 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.7717, allocations: 0.5223 MB / 1.135 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7717, allocations: 3.984 kB / 1.135 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.7718, allocations: 16 kB / 1.135 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.7718, allocations: 12 kB / 1.135 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.7725, allocations: 419.7 kB / 1.135 GB, free: 3.176 MB / 0.8887 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.003047/0.7756, allocations: 2.739 MB / 1.138 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.7765, allocations: 443.6 kB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.7771, allocations: 297.7 kB / 1.138 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.7771, allocations: 8.656 kB / 1.138 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.7776, allocations: 291 kB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.7776, allocations: 0 / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002368/0.78, allocations: 1.14 MB / 1.14 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.78, allocations: 63.33 kB / 1.14 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.7816, allocations: 1.76 MB / 1.142 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.7817, allocations: 41.7 kB / 1.142 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.7821, allocations: 0.5288 MB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.7822, allocations: 146.1 kB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.7823, allocations: 98.16 kB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7824, allocations: 330 kB / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.7829, allocations: 213 kB / 1.143 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.7834, allocations: 335.2 kB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.7842, allocations: 0.5197 MB / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7842, allocations: 3.938 kB / 1.144 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001371/0.7856, allocations: 0.8067 MB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7856, allocations: 8 kB / 1.145 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7856, allocations: 0 / 1.145 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.786, allocations: 144.9 kB / 1.145 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.7864, allocations: 99.81 kB / 1.145 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.7889, allocations: 2.605 MB / 1.147 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.7893, allocations: 79.41 kB / 1.147 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.7894, allocations: 23.98 kB / 1.147 GB, free: 5.91 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.7898, allocations: 385.3 kB / 1.148 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.7899, allocations: 118.4 kB / 1.148 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.7901, allocations: 143.7 kB / 1.148 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7901, allocations: 11.94 kB / 1.148 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7901, allocations: 0 / 1.148 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7901, allocations: 3.984 kB / 1.148 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.7922, allocations: 1.486 MB / 1.149 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7922, allocations: 0 / 1.149 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.7924, allocations: 43.91 kB / 1.15 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.7928, allocations: 169.6 kB / 1.15 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.7928, allocations: 11.98 kB / 1.15 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.7963, allocations: 4.027 MB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7963, allocations: 0 / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.7979, allocations: 0.9906 MB / 1.155 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.7982, allocations: 211.6 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.7983, allocations: 16 kB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.7985, allocations: 27.97 kB / 1.155 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7987, allocations: 51.92 kB / 1.155 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.7987, allocations: 19.92 kB / 1.155 GB, free: 13.83 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001193/0.7999, allocations: 1.289 MB / 1.156 GB, free: 12.54 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7999, allocations: 0 / 1.156 GB, free: 12.54 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006206/0.8005, allocations: 199.6 kB / 1.156 GB, free: 12.34 MB / 0.92 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,12,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.001077/0.8016, allocations: 492.4 kB / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.803, allocations: 0.7018 MB / 1.158 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.803, allocations: 0 / 1.158 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.8037, allocations: 0.517 MB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.8046, allocations: 198.7 kB / 1.158 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.8076, allocations: 2.385 MB / 1.161 GB, free: 8.172 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.8083, allocations: 1.153 MB / 1.162 GB, free: 6.992 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.8086, allocations: 96.77 kB / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.8087, allocations: 47.42 kB / 1.162 GB, free: 6.852 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.8087, allocations: 0 / 1.162 GB, free: 6.852 MB / 0.92 GB Notification: Performance of Templates: time 0.01699/0.8257, allocations: 10.04 MB / 1.172 GB, free: 12.95 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches