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.0048/0.0048, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001133/0.001133, allocations: 193.8 kB / 16.67 MB, free: 5.871 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.167/1.167, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 1.977/1.977, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 75.88 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7855, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1802/0.9657, allocations: 156.7 MB / 1.241 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.991, allocations: 21.75 MB / 1.262 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.9933, allocations: 51.69 kB / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.9951, allocations: 1.165 MB / 1.263 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.9969, allocations: 0.8641 MB / 1.264 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.9982, allocations: 458.3 kB / 1.265 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.9997, allocations: 1.267 MB / 1.266 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/1.001, allocations: 0.6792 MB / 1.267 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/1.001, allocations: 0.553 MB / 1.267 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/1.002, allocations: 0.9216 MB / 1.268 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/1.002, allocations: 64 kB / 1.268 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/1.002, allocations: 112 kB / 1.268 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/1.003, allocations: 316.7 kB / 1.268 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004035/1.003, allocations: 496.8 kB / 1.269 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/1.004, allocations: 1.202 MB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.004, allocations: 0 / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.004, allocations: 4 kB / 1.27 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.004, allocations: 0 / 1.27 GB, free: 3.059 MB / 0.9981 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.002085/1.006, allocations: 1.521 MB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/1.007, allocations: 12.03 kB / 1.272 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/1.007, allocations: 140 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/1.007, allocations: 0.6794 MB / 1.272 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/1.008, allocations: 70.69 kB / 1.272 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/1.008, allocations: 44 kB / 1.273 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/1.009, allocations: 0.5224 MB / 1.273 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.009, allocations: 0 / 1.273 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/1.009, allocations: 19.98 kB / 1.273 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/1.009, allocations: 12 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/1.009, allocations: 415.7 kB / 1.273 GB, free: 15.5 MB / 1.014 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.003248/1.013, allocations: 2.728 MB / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/1.014, allocations: 445.6 kB / 1.277 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/1.014, allocations: 297.3 kB / 1.277 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/1.014, allocations: 12.33 kB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/1.015, allocations: 284 kB / 1.277 GB, free: 11.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/1.015, allocations: 0 / 1.277 GB, free: 11.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.00244/1.017, allocations: 1.16 MB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.017, allocations: 59.41 kB / 1.278 GB, free: 10.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.019, allocations: 1.76 MB / 1.28 GB, free: 8.457 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1.019, allocations: 41.69 kB / 1.28 GB, free: 8.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.019, allocations: 0.5254 MB / 1.281 GB, free: 7.879 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/1.02, allocations: 150.8 kB / 1.281 GB, free: 7.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.02, allocations: 98.25 kB / 1.281 GB, free: 7.629 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.02, allocations: 330 kB / 1.281 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/1.02, allocations: 216.8 kB / 1.281 GB, free: 7.094 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/1.021, allocations: 339.1 kB / 1.282 GB, free: 6.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/1.022, allocations: 0.5226 MB / 1.282 GB, free: 6.141 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.022, allocations: 7.938 kB / 1.282 GB, free: 6.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001401/1.023, allocations: 0.8019 MB / 1.283 GB, free: 5.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.023, allocations: 12.03 kB / 1.283 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.023, allocations: 4 kB / 1.283 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/1.023, allocations: 133.5 kB / 1.283 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.024, allocations: 107.8 kB / 1.283 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/1.026, allocations: 2.602 MB / 1.286 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/1.027, allocations: 75.69 kB / 1.286 GB, free: 2.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/1.027, allocations: 20 kB / 1.286 GB, free: 2.238 MB / 1.014 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.0004231/1.027, allocations: 394.3 kB / 1.286 GB, free: 1.848 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.027, allocations: 127.1 kB / 1.286 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/1.028, allocations: 135.7 kB / 1.286 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.028, allocations: 4 kB / 1.286 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.028, allocations: 4 kB / 1.286 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.028, allocations: 7.984 kB / 1.286 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/1.03, allocations: 1.494 MB / 1.288 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.03, allocations: 0 / 1.288 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/1.03, allocations: 43.91 kB / 1.288 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/1.03, allocations: 165.4 kB / 1.288 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/1.03, allocations: 15.98 kB / 1.288 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/1.034, allocations: 4.025 MB / 1.292 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.034, allocations: 64 / 1.292 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.035, allocations: 0.9971 MB / 1.293 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/1.036, allocations: 220.2 kB / 1.293 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/1.036, allocations: 11.98 kB / 1.293 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/1.036, allocations: 27.97 kB / 1.293 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.036, allocations: 55.92 kB / 1.293 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/1.036, allocations: 19.94 kB / 1.293 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001433/1.038, allocations: 1.289 MB / 1.295 GB, free: 8.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.038, allocations: 0 / 1.295 GB, free: 8.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007502/1.039, allocations: 195.8 kB / 1.295 GB, free: 8.648 MB / 1.029 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.001257/1.04, allocations: 492.3 kB / 1.295 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00139/1.041, allocations: 0.6647 MB / 1.296 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.041, allocations: 4 kB / 1.296 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/1.042, allocations: 0.5291 MB / 1.296 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/1.043, allocations: 198.1 kB / 1.297 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/1.047, allocations: 2.397 MB / 1.299 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/1.048, allocations: 1.146 MB / 1.3 GB, free: 3.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003756/1.048, allocations: 92.78 kB / 1.3 GB, free: 3.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.048, allocations: 51.36 kB / 1.3 GB, free: 3.176 MB / 1.029 GB Notification: Performance of SimCode: time 1.283e-06/1.048, allocations: 4 kB / 1.3 GB, free: 3.172 MB / 1.029 GB Notification: Performance of Templates: time 0.01876/1.067, allocations: 10.15 MB / 1.31 GB, free: 9.137 MB / 1.045 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