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.001632/0.001633, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001804/0.001804, allocations: 187 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 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.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2382/1.244, allocations: 157.3 MB / 1.242 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03146/1.276, allocations: 22 MB / 1.264 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/1.279, allocations: 59.69 kB / 1.264 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002729/1.282, allocations: 2.159 MB / 1.266 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/1.285, allocations: 1.433 MB / 1.267 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/1.287, allocations: 0.5873 MB / 1.268 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002892/1.29, allocations: 1.832 MB / 1.27 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/1.291, allocations: 1.076 MB / 1.271 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/1.293, allocations: 0.8958 MB / 1.272 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/1.294, allocations: 1.538 MB / 1.273 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/1.295, allocations: 88 kB / 1.273 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/1.295, allocations: 139.9 kB / 1.273 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/1.295, allocations: 0.5238 MB / 1.274 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000694/1.296, allocations: 0.7565 MB / 1.274 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/1.298, allocations: 1.858 MB / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.298, allocations: 3.938 kB / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/1.298, allocations: 0 / 1.276 GB, free: 13.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.298, allocations: 0 / 1.276 GB, free: 13.48 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.003579/1.302, allocations: 2.281 MB / 1.279 GB, free: 11.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.302, allocations: 8.031 kB / 1.279 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/1.302, allocations: 230 kB / 1.279 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.303, allocations: 1.023 MB / 1.28 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.304, allocations: 87 kB / 1.28 GB, free: 9.719 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.304, allocations: 60 kB / 1.28 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.305, allocations: 0.7329 MB / 1.281 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.305, allocations: 0 / 1.281 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/1.305, allocations: 27.98 kB / 1.281 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.305, allocations: 16 kB / 1.281 GB, free: 8.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.306, allocations: 0.5906 MB / 1.281 GB, free: 8.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/1.312, allocations: 3.502 MB / 1.285 GB, free: 4.516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.313, allocations: 0.7034 MB / 1.285 GB, free: 3.805 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/1.314, allocations: 418.3 kB / 1.286 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/1.314, allocations: 12.55 kB / 1.286 GB, free: 3.383 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008092/1.315, allocations: 430.8 kB / 1.286 GB, free: 2.949 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.887e-06/1.315, allocations: 0 / 1.286 GB, free: 2.949 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.004337/1.319, allocations: 1.796 MB / 1.288 GB, free: 1.102 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.319, allocations: 59.97 kB / 1.288 GB, free: 1.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/1.323, allocations: 3.312 MB / 1.291 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/1.323, allocations: 41.7 kB / 1.291 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007528/1.324, allocations: 0.8899 MB / 1.292 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/1.324, allocations: 224.8 kB / 1.292 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.324, allocations: 130.7 kB / 1.292 GB, free: 12.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.324, allocations: 337.9 kB / 1.293 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/1.325, allocations: 301.8 kB / 1.293 GB, free: 11.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/1.325, allocations: 434.3 kB / 1.293 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.327, allocations: 0.7171 MB / 1.294 GB, free: 10.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.327, allocations: 3.938 kB / 1.294 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002286/1.329, allocations: 1.21 MB / 1.295 GB, free: 9.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.329, allocations: 11.94 kB / 1.295 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.329, allocations: 0 / 1.295 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000725/1.33, allocations: 267.8 kB / 1.296 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/1.33, allocations: 127.8 kB / 1.296 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/1.335, allocations: 4.759 MB / 1.3 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/1.336, allocations: 87.33 kB / 1.3 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.336, allocations: 36 kB / 1.301 GB, free: 3.746 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.0009256/1.337, allocations: 0.6108 MB / 1.301 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.337, allocations: 205.3 kB / 1.301 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/1.337, allocations: 248.5 kB / 1.302 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.338, allocations: 7.984 kB / 1.302 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.338, allocations: 4 kB / 1.302 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.338, allocations: 0 / 1.302 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/1.341, allocations: 2.339 MB / 1.304 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.341, allocations: 0 / 1.304 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/1.342, allocations: 63.89 kB / 1.304 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/1.342, allocations: 263.5 kB / 1.304 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/1.342, allocations: 15.98 kB / 1.304 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/1.347, allocations: 4.757 MB / 1.309 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.347, allocations: 3.984 kB / 1.309 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/1.35, allocations: 1.576 MB / 1.31 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/1.35, allocations: 314.3 kB / 1.311 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.35, allocations: 27.92 kB / 1.311 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/1.351, allocations: 31.97 kB / 1.311 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/1.351, allocations: 72.45 kB / 1.311 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/1.351, allocations: 31.92 kB / 1.311 GB, free: 8.789 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003018/1.354, allocations: 2.423 MB / 1.313 GB, free: 6.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/1.354, allocations: 0 / 1.313 GB, free: 6.352 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00102/1.355, allocations: 288.3 kB / 1.313 GB, free: 6.07 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.001335/1.357, allocations: 488.3 kB / 1.314 GB, free: 5.766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.359, allocations: 1.059 MB / 1.315 GB, free: 4.688 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.359, allocations: 0 / 1.315 GB, free: 4.688 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.36, allocations: 0.6864 MB / 1.316 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.361, allocations: 280.1 kB / 1.316 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/1.368, allocations: 4.083 MB / 1.32 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.37, allocations: 1.52 MB / 1.321 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.37, allocations: 67.42 kB / 1.321 GB, free: 13.97 MB / 1.061 GB Notification: Performance of SimCode: time 1.162e-06/1.37, allocations: 0 / 1.321 GB, free: 13.97 MB / 1.061 GB Notification: Performance of Templates: time 0.05023/1.421, allocations: 31.57 MB / 1.352 GB, free: 14.43 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