Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001178/0.001178, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.21 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 2.323/2.323, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 62.58 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2796, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.7257/1.005, allocations: 156.7 MB / 1.103 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02706/1.032, allocations: 21.75 MB / 1.125 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/1.036, allocations: 52.56 kB / 1.125 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/1.038, allocations: 1.159 MB / 1.126 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/1.04, allocations: 0.8575 MB / 1.127 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/1.042, allocations: 441.8 kB / 1.127 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002169/1.044, allocations: 1.252 MB / 1.128 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.045, allocations: 0.6834 MB / 1.129 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/1.046, allocations: 0.5501 MB / 1.129 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1.048, allocations: 0.912 MB / 1.13 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/1.048, allocations: 64.91 kB / 1.13 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/1.048, allocations: 115.5 kB / 1.13 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/1.048, allocations: 320.1 kB / 1.131 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/1.049, allocations: 492.6 kB / 1.131 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/1.05, allocations: 1.18 MB / 1.132 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.05, allocations: 0 / 1.132 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.205e-06/1.05, allocations: 0.5938 kB / 1.132 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.05, allocations: 4.844 kB / 1.132 GB, free: 6.477 MB / 0.8575 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.00249/1.053, allocations: 1.482 MB / 1.134 GB, free: 21.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.053, allocations: 14.69 kB / 1.134 GB, free: 21.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/1.053, allocations: 134.7 kB / 1.134 GB, free: 21.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/1.054, allocations: 0.6497 MB / 1.135 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.054, allocations: 72.89 kB / 1.135 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/1.054, allocations: 49.75 kB / 1.135 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/1.055, allocations: 0.5206 MB / 1.135 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.055, allocations: 1.75 kB / 1.135 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/1.055, allocations: 19.94 kB / 1.135 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.055, allocations: 9.5 kB / 1.135 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/1.056, allocations: 414.2 kB / 1.136 GB, free: 21.04 MB / 0.8731 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.003459/1.059, allocations: 2.741 MB / 1.138 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/1.06, allocations: 438.8 kB / 1.139 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/1.061, allocations: 304.1 kB / 1.139 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/1.061, allocations: 5.5 kB / 1.139 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/1.061, allocations: 289.5 kB / 1.139 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.464e-06/1.061, allocations: 0 / 1.139 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002596/1.064, allocations: 1.147 MB / 1.14 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.064, allocations: 61.12 kB / 1.141 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/1.066, allocations: 1.762 MB / 1.142 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/1.066, allocations: 42.08 kB / 1.142 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/1.066, allocations: 0.5322 MB / 1.143 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.066, allocations: 141.4 kB / 1.143 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.067, allocations: 103 kB / 1.143 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.067, allocations: 325.8 kB / 1.143 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/1.067, allocations: 212.4 kB / 1.144 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/1.068, allocations: 343.5 kB / 1.144 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/1.069, allocations: 0.5168 MB / 1.144 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.069, allocations: 5.688 kB / 1.144 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00152/1.07, allocations: 0.8024 MB / 1.145 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.07, allocations: 11.88 kB / 1.145 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.07, allocations: 3.406 kB / 1.145 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/1.071, allocations: 141.8 kB / 1.145 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/1.071, allocations: 103 kB / 1.145 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/1.074, allocations: 2.602 MB / 1.148 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/1.074, allocations: 78.83 kB / 1.148 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/1.074, allocations: 20.31 kB / 1.148 GB, free: 15.3 MB / 0.8731 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.0006287/1.075, allocations: 389 kB / 1.148 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.075, allocations: 117.6 kB / 1.149 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/1.075, allocations: 146.6 kB / 1.149 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.075, allocations: 5.312 kB / 1.149 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.075, allocations: 2.844 kB / 1.149 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.075, allocations: 4.031 kB / 1.149 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.077, allocations: 1.486 MB / 1.15 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.078, allocations: 0.8438 kB / 1.15 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/1.078, allocations: 45.12 kB / 1.15 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/1.078, allocations: 162.1 kB / 1.15 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.078, allocations: 13.19 kB / 1.15 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/1.082, allocations: 4.034 MB / 1.154 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.082, allocations: 1.031 kB / 1.154 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.084, allocations: 0.9867 MB / 1.155 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/1.084, allocations: 211.6 kB / 1.155 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/1.084, allocations: 17.53 kB / 1.155 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/1.085, allocations: 26.97 kB / 1.156 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.085, allocations: 51.09 kB / 1.156 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/1.085, allocations: 18.27 kB / 1.156 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001535/1.086, allocations: 1.289 MB / 1.157 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.086, allocations: 0 / 1.157 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009247/1.087, allocations: 201.6 kB / 1.157 GB, free: 9.586 MB / 0.8731 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.001123/1.088, allocations: 485.1 kB / 1.158 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001491/1.09, allocations: 0.6947 MB / 1.158 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.09, allocations: 1.188 kB / 1.158 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/1.091, allocations: 0.5294 MB / 1.159 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.092, allocations: 199.2 kB / 1.159 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/1.096, allocations: 2.438 MB / 1.161 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/1.097, allocations: 1.136 MB / 1.162 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.097, allocations: 52.17 kB / 1.162 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/1.097, allocations: 0 / 1.162 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of Templates: time 0.02521/1.122, allocations: 17.8 MB / 1.18 GB, free: 0.8789 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches