Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001516/0.001516, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.359/2.359, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9119, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.184/1.096, allocations: 155.4 MB / 1.101 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02702/1.123, allocations: 21.82 MB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/1.125, allocations: 51.69 kB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/1.128, allocations: 2.121 MB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/1.13, allocations: 1.398 MB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/1.131, allocations: 0.5432 MB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002186/1.134, allocations: 1.933 MB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.135, allocations: 1.129 MB / 1.129 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/1.136, allocations: 0.9269 MB / 1.13 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/1.138, allocations: 1.658 MB / 1.132 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/1.138, allocations: 96 kB / 1.132 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/1.138, allocations: 140 kB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/1.139, allocations: 0.5862 MB / 1.132 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/1.139, allocations: 0.803 MB / 1.133 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/1.141, allocations: 1.891 MB / 1.135 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.141, allocations: 4 kB / 1.135 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/1.141, allocations: 4 kB / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.64e-05/1.141, allocations: 0 / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003185/1.144, allocations: 2.356 MB / 1.137 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.144, allocations: 12.03 kB / 1.137 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/1.144, allocations: 233.9 kB / 1.138 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.146, allocations: 1.038 MB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/1.146, allocations: 95 kB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.146, allocations: 68 kB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.147, allocations: 0.7806 MB / 1.14 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.147, allocations: 7.938 kB / 1.14 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/1.147, allocations: 24 kB / 1.14 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/1.147, allocations: 16 kB / 1.14 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.149, allocations: 0.6414 MB / 1.14 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/1.153, allocations: 3.733 MB / 1.144 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/1.155, allocations: 0.7475 MB / 1.145 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/1.156, allocations: 434 kB / 1.145 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/1.156, allocations: 8.562 kB / 1.145 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000811/1.156, allocations: 452.1 kB / 1.145 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/1.156, allocations: 0 / 1.145 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.004036/1.16, allocations: 1.826 MB / 1.147 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.161, allocations: 64 kB / 1.147 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/1.164, allocations: 3.367 MB / 1.151 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/1.164, allocations: 41.7 kB / 1.151 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/1.165, allocations: 0.933 MB / 1.152 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/1.165, allocations: 236.7 kB / 1.152 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/1.165, allocations: 134.7 kB / 1.152 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.165, allocations: 337.9 kB / 1.152 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/1.166, allocations: 321.8 kB / 1.153 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/1.167, allocations: 468.1 kB / 1.153 GB, free: 16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.168, allocations: 0.7495 MB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.168, allocations: 0 / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002364/1.171, allocations: 1.249 MB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.171, allocations: 4 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.171, allocations: 4 kB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/1.171, allocations: 267.4 kB / 1.155 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/1.172, allocations: 139.8 kB / 1.155 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/1.177, allocations: 4.757 MB / 1.16 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.178, allocations: 103.2 kB / 1.16 GB, free: 8.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/1.178, allocations: 31.94 kB / 1.16 GB, free: 8.371 MB / 0.92 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008501/1.178, allocations: 0.6226 MB / 1.161 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/1.179, allocations: 209.3 kB / 1.161 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/1.179, allocations: 265.1 kB / 1.161 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.179, allocations: 11.94 kB / 1.161 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.179, allocations: 4 kB / 1.161 GB, free: 7.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.179, allocations: 3.984 kB / 1.161 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/1.183, allocations: 2.404 MB / 1.164 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.183, allocations: 3.938 kB / 1.164 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/1.183, allocations: 71.89 kB / 1.164 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006023/1.184, allocations: 249.5 kB / 1.164 GB, free: 4.453 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/1.184, allocations: 16 kB / 1.164 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/1.188, allocations: 4.753 MB / 1.168 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.188, allocations: 0 / 1.168 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/1.191, allocations: 1.637 MB / 1.17 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/1.192, allocations: 330.1 kB / 1.17 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.192, allocations: 16 kB / 1.17 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/1.192, allocations: 55.95 kB / 1.17 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.193, allocations: 72.55 kB / 1.171 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/1.193, allocations: 23.98 kB / 1.171 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002577/1.195, allocations: 2.46 MB / 1.173 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.21e-07/1.195, allocations: 0 / 1.173 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001255/1.196, allocations: 303.5 kB / 1.173 GB, free: 10.46 MB / 0.9356 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001165/1.198, allocations: 485.6 kB / 1.174 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002376/1.2, allocations: 1.205 MB / 1.175 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.2, allocations: 0 / 1.175 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.201, allocations: 0.6949 MB / 1.176 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.203, allocations: 301.1 kB / 1.176 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/1.209, allocations: 4.667 MB / 1.18 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.21, allocations: 1.552 MB / 1.182 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000543/1.211, allocations: 162.6 kB / 1.182 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.211, allocations: 67.42 kB / 1.182 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/1.211, allocations: 0 / 1.182 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of Templates: time 0.0267/1.238, allocations: 14.8 MB / 1.197 GB, free: 2.812 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches