Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001315/0.001315, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2139/1.238, allocations: 157.3 MB / 1.242 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03162/1.27, allocations: 21.99 MB / 1.264 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.273, allocations: 55.69 kB / 1.264 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/1.276, allocations: 2.163 MB / 1.266 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/1.278, allocations: 1.417 MB / 1.267 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/1.28, allocations: 0.5721 MB / 1.268 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002387/1.282, allocations: 1.828 MB / 1.27 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/1.284, allocations: 1.087 MB / 1.271 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/1.286, allocations: 0.8842 MB / 1.271 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/1.288, allocations: 1.538 MB / 1.273 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/1.288, allocations: 92 kB / 1.273 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/1.289, allocations: 143.9 kB / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/1.289, allocations: 0.5199 MB / 1.274 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007608/1.29, allocations: 0.7643 MB / 1.274 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/1.292, allocations: 1.854 MB / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.292, allocations: 0 / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/1.292, allocations: 0 / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.292, allocations: 0 / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003666/1.296, allocations: 2.281 MB / 1.278 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.296, allocations: 8.031 kB / 1.279 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/1.296, allocations: 230 kB / 1.279 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/1.297, allocations: 1.019 MB / 1.28 GB, free: 9.777 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/1.298, allocations: 87 kB / 1.28 GB, free: 9.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.298, allocations: 64 kB / 1.28 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.299, allocations: 0.7329 MB / 1.281 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.299, allocations: 0 / 1.281 GB, free: 8.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/1.299, allocations: 23.98 kB / 1.281 GB, free: 8.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/1.299, allocations: 20 kB / 1.281 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.3, allocations: 0.5907 MB / 1.281 GB, free: 8.246 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/1.305, allocations: 3.505 MB / 1.285 GB, free: 4.477 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/1.307, allocations: 0.7071 MB / 1.285 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/1.307, allocations: 410.3 kB / 1.286 GB, free: 3.359 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/1.307, allocations: 12.55 kB / 1.286 GB, free: 3.348 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/1.308, allocations: 430.9 kB / 1.286 GB, free: 2.914 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/1.308, allocations: 3.938 kB / 1.286 GB, free: 2.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003993/1.312, allocations: 1.8 MB / 1.288 GB, free: 1.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.312, allocations: 59.97 kB / 1.288 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/1.315, allocations: 3.304 MB / 1.291 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/1.315, allocations: 49.69 kB / 1.291 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/1.316, allocations: 0.8859 MB / 1.292 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/1.316, allocations: 228.8 kB / 1.292 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/1.317, allocations: 126.7 kB / 1.292 GB, free: 12.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.317, allocations: 333.9 kB / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/1.317, allocations: 313.8 kB / 1.293 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/1.318, allocations: 438.3 kB / 1.293 GB, free: 11.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.319, allocations: 0.7093 MB / 1.294 GB, free: 10.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/1.319, allocations: 7.938 kB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002121/1.321, allocations: 1.203 MB / 1.295 GB, free: 9.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.321, allocations: 11.94 kB / 1.295 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.321, allocations: 4.094 kB / 1.295 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/1.322, allocations: 265.4 kB / 1.296 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/1.322, allocations: 135.8 kB / 1.296 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/1.328, allocations: 4.752 MB / 1.3 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/1.328, allocations: 91.33 kB / 1.3 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.329, allocations: 31.94 kB / 1.3 GB, free: 3.703 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009018/1.329, allocations: 0.599 MB / 1.301 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/1.33, allocations: 209.4 kB / 1.301 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/1.33, allocations: 248.5 kB / 1.302 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.33, allocations: 8 kB / 1.302 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.33, allocations: 4 kB / 1.302 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/1.33, allocations: 3.984 kB / 1.302 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/1.335, allocations: 2.335 MB / 1.304 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.335, allocations: 4 kB / 1.304 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/1.335, allocations: 67.89 kB / 1.304 GB, free: 156 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007103/1.336, allocations: 251.9 kB / 1.304 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/1.336, allocations: 23.98 kB / 1.304 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/1.341, allocations: 4.757 MB / 1.309 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.341, allocations: 0 / 1.309 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/1.344, allocations: 1.572 MB / 1.31 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.345, allocations: 318.3 kB / 1.311 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.345, allocations: 23.92 kB / 1.311 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/1.345, allocations: 39.97 kB / 1.311 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.345, allocations: 72.45 kB / 1.311 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/1.345, allocations: 23.98 kB / 1.311 GB, free: 8.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003099/1.349, allocations: 2.423 MB / 1.313 GB, free: 6.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.349, allocations: 0 / 1.313 GB, free: 6.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001045/1.35, allocations: 288.3 kB / 1.313 GB, free: 6.039 MB / 1.045 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.00129/1.351, allocations: 495.9 kB / 1.314 GB, free: 5.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00226/1.353, allocations: 1.063 MB / 1.315 GB, free: 4.648 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.353, allocations: 0 / 1.315 GB, free: 4.648 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.354, allocations: 0.6826 MB / 1.316 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.356, allocations: 286.2 kB / 1.316 GB, free: 3.664 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/1.363, allocations: 4.07 MB / 1.32 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.364, allocations: 1.528 MB / 1.321 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/1.365, allocations: 71.42 kB / 1.321 GB, free: 13.93 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/1.365, allocations: 0 / 1.321 GB, free: 13.93 MB / 1.061 GB Notification: Performance of Templates: time 0.05443/1.419, allocations: 31.56 MB / 1.352 GB, free: 14.4 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches