Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 92.16 kB / 16.02 MB, free: 80 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.001572/0.001572, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 16.27 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7689, allocations: 142.4 MB / 0.9557 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2036/0.9726, allocations: 152.4 MB / 1.104 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02866/1.001, allocations: 21.37 MB / 1.125 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/1.004, allocations: 47.69 kB / 1.125 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/1.005, allocations: 1.13 MB / 1.127 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/1.007, allocations: 0.8216 MB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/1.009, allocations: 381.8 kB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.011, allocations: 1.348 MB / 1.129 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.012, allocations: 0.5905 MB / 1.13 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/1.013, allocations: 470.3 kB / 1.13 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/1.015, allocations: 0.8786 MB / 1.131 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/1.015, allocations: 35.94 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/1.015, allocations: 75.95 kB / 1.131 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/1.016, allocations: 284.7 kB / 1.131 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/1.016, allocations: 474.5 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/1.017, allocations: 0.8925 MB / 1.133 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.017, allocations: 0 / 1.133 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.017, allocations: 0 / 1.133 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.45e-05/1.018, allocations: 0 / 1.133 GB, free: 9.695 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.002609/1.02, allocations: 1.32 MB / 1.134 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.02, allocations: 12.03 kB / 1.134 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/1.02, allocations: 139.2 kB / 1.134 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/1.021, allocations: 0.6512 MB / 1.135 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/1.022, allocations: 78.67 kB / 1.135 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/1.022, allocations: 51.91 kB / 1.135 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.023, allocations: 0.5263 MB / 1.135 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.023, allocations: 4 kB / 1.135 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/1.023, allocations: 16 kB / 1.135 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.023, allocations: 11.94 kB / 1.135 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/1.024, allocations: 431.7 kB / 1.136 GB, free: 6.344 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.003857/1.028, allocations: 2.858 MB / 1.139 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.029, allocations: 473.2 kB / 1.139 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/1.029, allocations: 293.4 kB / 1.139 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/1.029, allocations: 12.3 kB / 1.139 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/1.03, allocations: 314.4 kB / 1.14 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 3.086e-06/1.03, allocations: 4 kB / 1.14 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.003167/1.033, allocations: 1.277 MB / 1.141 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.033, allocations: 59.41 kB / 1.141 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.035, allocations: 1.748 MB / 1.143 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/1.035, allocations: 41.69 kB / 1.143 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/1.036, allocations: 0.5179 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/1.036, allocations: 149.9 kB / 1.143 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/1.036, allocations: 53.69 kB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.036, allocations: 330 kB / 1.144 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/1.037, allocations: 240.9 kB / 1.144 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.037, allocations: 340.9 kB / 1.144 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/1.038, allocations: 0.5412 MB / 1.145 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.038, allocations: 0 / 1.145 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001817/1.04, allocations: 0.8936 MB / 1.146 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.04, allocations: 4 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.04, allocations: 4 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/1.041, allocations: 186.5 kB / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/1.041, allocations: 99.88 kB / 1.146 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/1.045, allocations: 2.756 MB / 1.149 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/1.045, allocations: 87.55 kB / 1.149 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/1.045, allocations: 20 kB / 1.149 GB, free: 8.516 MB / 0.9044 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.0005557/1.046, allocations: 393.3 kB / 1.149 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/1.046, allocations: 114.5 kB / 1.149 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/1.046, allocations: 139.6 kB / 1.149 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.046, allocations: 4 kB / 1.149 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.046, allocations: 8 kB / 1.149 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.046, allocations: 3.984 kB / 1.149 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/1.049, allocations: 1.593 MB / 1.151 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.049, allocations: 3.984 kB / 1.151 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/1.05, allocations: 55.91 kB / 1.151 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/1.05, allocations: 185.6 kB / 1.151 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/1.05, allocations: 15.98 kB / 1.151 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004319/1.054, allocations: 4.131 MB / 1.155 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.054, allocations: 0 / 1.155 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/1.056, allocations: 1.092 MB / 1.156 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/1.057, allocations: 223.5 kB / 1.156 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.057, allocations: 12 kB / 1.156 GB, free: 184 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/1.057, allocations: 43.95 kB / 1.156 GB, free: 140 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.057, allocations: 55.86 kB / 1.157 GB, free: 84 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/1.057, allocations: 16 kB / 1.157 GB, free: 68 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001542/1.059, allocations: 1.281 MB / 1.158 GB, free: 14.78 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.91e-07/1.059, allocations: 7.938 kB / 1.158 GB, free: 14.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009337/1.06, allocations: 207.7 kB / 1.158 GB, free: 14.57 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,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.001251/1.061, allocations: 486.1 kB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.063, allocations: 0.7539 MB / 1.159 GB, free: 13.51 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.063, allocations: 0 / 1.159 GB, free: 13.51 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/1.064, allocations: 0.5598 MB / 1.16 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.065, allocations: 182.4 kB / 1.16 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/1.07, allocations: 2.837 MB / 1.163 GB, free: 9.879 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.071, allocations: 1.146 MB / 1.164 GB, free: 8.703 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.071, allocations: 43.42 kB / 1.164 GB, free: 8.66 MB / 0.92 GB Notification: Performance of SimCode: time 1.223e-06/1.071, allocations: 3.938 kB / 1.164 GB, free: 8.656 MB / 0.92 GB Notification: Performance of Templates: time 0.02809/1.099, allocations: 17.62 MB / 1.181 GB, free: 7.066 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches