Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.TestCase2,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.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_11_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.001386/0.001387, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001339/0.001339, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.72/2.72, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.88 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3061, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.662/0.9682, allocations: 154.6 MB / 1.215 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02884/0.9971, allocations: 21.5 MB / 1.236 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.9997, allocations: 51.69 kB / 1.236 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/1.002, allocations: 1.13 MB / 1.237 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/1.003, allocations: 0.8216 MB / 1.238 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/1.005, allocations: 375.3 kB / 1.238 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00174/1.006, allocations: 1.255 MB / 1.24 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/1.007, allocations: 0.6958 MB / 1.24 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008458/1.008, allocations: 0.549 MB / 1.241 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.01, allocations: 0.9528 MB / 1.242 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/1.01, allocations: 68 kB / 1.242 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/1.01, allocations: 112 kB / 1.242 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/1.01, allocations: 328.7 kB / 1.242 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/1.011, allocations: 0.489 MB / 1.243 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/1.012, allocations: 0.924 MB / 1.244 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.012, allocations: 0 / 1.244 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.464e-06/1.012, allocations: 0 / 1.244 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.427e-05/1.012, allocations: 3.984 kB / 1.244 GB, free: 1.516 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.002637/1.015, allocations: 1.485 MB / 1.245 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.015, allocations: 8.031 kB / 1.245 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/1.015, allocations: 131.3 kB / 1.245 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/1.016, allocations: 0.659 MB / 1.246 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.016, allocations: 70.69 kB / 1.246 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/1.016, allocations: 48 kB / 1.246 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.017, allocations: 0.5224 MB / 1.246 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/1.017, allocations: 0 / 1.246 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/1.017, allocations: 16 kB / 1.247 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.017, allocations: 12 kB / 1.247 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/1.018, allocations: 415.7 kB / 1.247 GB, free: 14.04 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.00479/1.023, allocations: 2.812 MB / 1.25 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.024, allocations: 455.3 kB / 1.25 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/1.025, allocations: 297.1 kB / 1.25 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/1.025, allocations: 8.594 kB / 1.25 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/1.026, allocations: 294.1 kB / 1.251 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 3.787e-06/1.026, allocations: 0 / 1.251 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.003318/1.029, allocations: 1.248 MB / 1.252 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.029, allocations: 55.41 kB / 1.252 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.031, allocations: 1.748 MB / 1.254 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/1.031, allocations: 37.7 kB / 1.254 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/1.032, allocations: 0.5179 MB / 1.254 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/1.032, allocations: 145.9 kB / 1.254 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.032, allocations: 98.25 kB / 1.254 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.032, allocations: 326 kB / 1.255 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/1.033, allocations: 221 kB / 1.255 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/1.033, allocations: 328.8 kB / 1.255 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/1.034, allocations: 0.5135 MB / 1.256 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.034, allocations: 0 / 1.256 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001851/1.036, allocations: 0.8459 MB / 1.257 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.036, allocations: 4 kB / 1.257 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.036, allocations: 7.984 kB / 1.257 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/1.037, allocations: 184.8 kB / 1.257 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.037, allocations: 95.81 kB / 1.257 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/1.041, allocations: 3.006 MB / 1.26 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/1.042, allocations: 79.42 kB / 1.26 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.042, allocations: 23.98 kB / 1.26 GB, free: 168 kB / 0.9669 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.0005841/1.043, allocations: 387.4 kB / 1.26 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.043, allocations: 122.4 kB / 1.26 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/1.043, allocations: 143.7 kB / 1.261 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.043, allocations: 4 kB / 1.261 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.043, allocations: 4 kB / 1.261 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.043, allocations: 3.984 kB / 1.261 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/1.046, allocations: 1.563 MB / 1.262 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.046, allocations: 4 kB / 1.262 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/1.046, allocations: 47.91 kB / 1.262 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/1.047, allocations: 197.6 kB / 1.262 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.047, allocations: 15.98 kB / 1.262 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/1.052, allocations: 4.553 MB / 1.267 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.052, allocations: 3.984 kB / 1.267 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.054, allocations: 1.053 MB / 1.268 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/1.054, allocations: 211.6 kB / 1.268 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/1.054, allocations: 19.92 kB / 1.268 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/1.054, allocations: 35.88 kB / 1.268 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.055, allocations: 55.92 kB / 1.268 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.055, allocations: 15.98 kB / 1.268 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00156/1.056, allocations: 1.277 MB / 1.269 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.056, allocations: 0 / 1.269 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008878/1.057, allocations: 211.7 kB / 1.27 GB, free: 5.867 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,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.001771/1.059, allocations: 499.8 kB / 1.27 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.061, allocations: 0.7476 MB / 1.271 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.061, allocations: 4.062 kB / 1.271 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/1.062, allocations: 0.5549 MB / 1.271 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.063, allocations: 202.4 kB / 1.272 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/1.067, allocations: 2.753 MB / 1.274 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/1.068, allocations: 1.142 MB / 1.275 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.068, allocations: 51.42 kB / 1.275 GB, free: 8 kB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.068, allocations: 0 / 1.275 GB, free: 8 kB / 0.9825 GB Notification: Performance of Templates: time 0.02623/1.094, allocations: 17.81 MB / 1.293 GB, free: 14.23 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches