Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001676/0.001676, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001883/0.001883, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 66.5 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6566/0.9882, allocations: 154.6 MB / 1.215 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02811/1.016, allocations: 21.5 MB / 1.236 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/1.019, allocations: 51.69 kB / 1.236 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/1.021, allocations: 1.134 MB / 1.237 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/1.022, allocations: 0.8177 MB / 1.238 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/1.023, allocations: 384 kB / 1.238 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001617/1.025, allocations: 1.251 MB / 1.24 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/1.026, allocations: 0.697 MB / 1.24 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008344/1.027, allocations: 0.5568 MB / 1.241 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/1.028, allocations: 0.949 MB / 1.242 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/1.028, allocations: 67.94 kB / 1.242 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/1.028, allocations: 108 kB / 1.242 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/1.029, allocations: 336.7 kB / 1.242 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/1.029, allocations: 0.489 MB / 1.243 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/1.03, allocations: 0.9161 MB / 1.244 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/1.03, allocations: 0 / 1.244 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/1.03, allocations: 0 / 1.244 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.03, allocations: 8 kB / 1.244 GB, free: 1.379 MB / 0.9512 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.00247/1.033, allocations: 1.483 MB / 1.245 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.033, allocations: 8.031 kB / 1.245 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.033, allocations: 131.3 kB / 1.245 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/1.034, allocations: 0.6551 MB / 1.246 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.034, allocations: 70.69 kB / 1.246 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/1.034, allocations: 52 kB / 1.246 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.035, allocations: 0.5145 MB / 1.246 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.035, allocations: 0 / 1.246 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/1.036, allocations: 24 kB / 1.247 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.036, allocations: 8 kB / 1.247 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/1.036, allocations: 419.7 kB / 1.247 GB, free: 13.9 MB / 0.9669 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.003994/1.04, allocations: 2.732 MB / 1.25 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.042, allocations: 451.9 kB / 1.25 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/1.042, allocations: 307 kB / 1.25 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/1.042, allocations: 8.641 kB / 1.25 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/1.043, allocations: 283.1 kB / 1.251 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 3.627e-06/1.043, allocations: 0 / 1.251 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002898/1.046, allocations: 1.149 MB / 1.252 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.046, allocations: 67.41 kB / 1.252 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/1.048, allocations: 1.756 MB / 1.253 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/1.048, allocations: 33.7 kB / 1.254 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/1.049, allocations: 0.5288 MB / 1.254 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/1.049, allocations: 142 kB / 1.254 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/1.049, allocations: 98.25 kB / 1.254 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.049, allocations: 333.9 kB / 1.255 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/1.05, allocations: 213 kB / 1.255 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/1.05, allocations: 339.1 kB / 1.255 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/1.051, allocations: 0.5149 MB / 1.256 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.051, allocations: 4 kB / 1.256 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001633/1.053, allocations: 0.8065 MB / 1.256 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.053, allocations: 11.94 kB / 1.256 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.053, allocations: 4 kB / 1.256 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/1.053, allocations: 136.9 kB / 1.257 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/1.054, allocations: 107.8 kB / 1.257 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/1.057, allocations: 2.601 MB / 1.259 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/1.057, allocations: 83.48 kB / 1.259 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/1.057, allocations: 23.98 kB / 1.259 GB, free: 0.6289 MB / 0.9669 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.0005336/1.058, allocations: 387.3 kB / 1.26 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/1.058, allocations: 118.5 kB / 1.26 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/1.058, allocations: 143.8 kB / 1.26 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.058, allocations: 4 kB / 1.26 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.058, allocations: 4 kB / 1.26 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.058, allocations: 3.984 kB / 1.26 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/1.061, allocations: 1.496 MB / 1.261 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.061, allocations: 0 / 1.261 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/1.061, allocations: 51.91 kB / 1.261 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/1.062, allocations: 173 kB / 1.262 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/1.062, allocations: 15.98 kB / 1.262 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/1.066, allocations: 4.008 MB / 1.266 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.066, allocations: 3.984 kB / 1.266 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.068, allocations: 0.9948 MB / 1.267 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/1.068, allocations: 215.5 kB / 1.267 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/1.068, allocations: 12 kB / 1.267 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/1.068, allocations: 39.95 kB / 1.267 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.069, allocations: 51.92 kB / 1.267 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/1.069, allocations: 12 kB / 1.267 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001577/1.07, allocations: 1.289 MB / 1.268 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/1.07, allocations: 0 / 1.268 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009155/1.071, allocations: 207.7 kB / 1.268 GB, free: 7.031 MB / 0.9825 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.001801/1.073, allocations: 494.6 kB / 1.269 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.075, allocations: 0.6897 MB / 1.269 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.075, allocations: 4.875 kB / 1.269 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/1.075, allocations: 0.5244 MB / 1.27 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.077, allocations: 191 kB / 1.27 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.081, allocations: 2.749 MB / 1.273 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/1.082, allocations: 1.146 MB / 1.274 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/1.082, allocations: 47.42 kB / 1.274 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/1.082, allocations: 0 / 1.274 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.02683/1.109, allocations: 17.82 MB / 1.291 GB, free: 15.5 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches