Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008171/0.0008171, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 11.94 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7241, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1646/0.8888, allocations: 153.1 MB / 1.173 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.9147, allocations: 21.7 MB / 1.194 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.9167, allocations: 55.62 kB / 1.194 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.9192, allocations: 2.117 MB / 1.197 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.9216, allocations: 1.398 MB / 1.198 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.9232, allocations: 0.55 MB / 1.198 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.9256, allocations: 2.062 MB / 1.2 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.927, allocations: 0.9841 MB / 1.201 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.9282, allocations: 0.7825 MB / 1.202 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.9299, allocations: 1.53 MB / 1.204 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.93, allocations: 40 kB / 1.204 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.9303, allocations: 79.98 kB / 1.204 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.9308, allocations: 0.5196 MB / 1.204 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.9314, allocations: 0.7539 MB / 1.205 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.9327, allocations: 1.419 MB / 1.206 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9327, allocations: 0 / 1.206 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9327, allocations: 4 kB / 1.206 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.9328, allocations: 4 kB / 1.206 GB, free: 4.035 MB / 0.9512 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.003163/0.9359, allocations: 2.063 MB / 1.208 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.936, allocations: 8.031 kB / 1.208 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.9363, allocations: 241.9 kB / 1.209 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.9376, allocations: 1.027 MB / 1.21 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.9377, allocations: 91 kB / 1.21 GB, free: 488 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.9379, allocations: 72 kB / 1.21 GB, free: 416 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.9394, allocations: 0.7924 MB / 1.211 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.9394, allocations: 0 / 1.211 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.9395, allocations: 31.94 kB / 1.211 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.9395, allocations: 16 kB / 1.211 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.9408, allocations: 0.6531 MB / 1.211 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.9461, allocations: 3.807 MB / 1.215 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.9477, allocations: 0.768 MB / 1.216 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/0.9486, allocations: 438.2 kB / 1.216 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.9486, allocations: 8.562 kB / 1.216 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008283/0.9494, allocations: 460 kB / 1.217 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.9495, allocations: 0 / 1.217 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.00442/0.9539, allocations: 1.873 MB / 1.218 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.954, allocations: 68 kB / 1.219 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.9576, allocations: 3.359 MB / 1.222 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.9578, allocations: 45.7 kB / 1.222 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008369/0.9586, allocations: 0.933 MB / 1.223 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.9589, allocations: 236.7 kB / 1.223 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.959, allocations: 69.69 kB / 1.223 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9592, allocations: 341.9 kB / 1.223 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.9599, allocations: 337.8 kB / 1.224 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.9607, allocations: 488.1 kB / 1.224 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.9622, allocations: 0.7778 MB / 1.225 GB, free: 464 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9622, allocations: 0 / 1.225 GB, free: 464 kB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002539/0.9647, allocations: 1.29 MB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.9648, allocations: 6.188 kB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9648, allocations: 4 kB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007461/0.9655, allocations: 259.1 kB / 1.226 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.9661, allocations: 147.7 kB / 1.227 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004818/0.9709, allocations: 4.376 MB / 1.231 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.9719, allocations: 127.2 kB / 1.231 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.972, allocations: 31.98 kB / 1.231 GB, free: 9.941 MB / 0.9825 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.0009266/0.9729, allocations: 0.6158 MB / 1.232 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.9732, allocations: 209.3 kB / 1.232 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.9736, allocations: 257.1 kB / 1.232 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9736, allocations: 8 kB / 1.232 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.9736, allocations: 4 kB / 1.232 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.9737, allocations: 3.984 kB / 1.232 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.9776, allocations: 2.447 MB / 1.234 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9777, allocations: 0 / 1.234 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.9781, allocations: 79.89 kB / 1.235 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006563/0.9787, allocations: 251.2 kB / 1.235 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.9788, allocations: 19.98 kB / 1.235 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/0.9837, allocations: 4.365 MB / 1.239 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9837, allocations: 0 / 1.239 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.9869, allocations: 1.656 MB / 1.241 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005844/0.9875, allocations: 338.2 kB / 1.241 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.9877, allocations: 19.88 kB / 1.241 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.9883, allocations: 63.89 kB / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.9885, allocations: 68.55 kB / 1.241 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.9885, allocations: 27.98 kB / 1.241 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002942/0.9915, allocations: 2.468 MB / 1.244 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9915, allocations: 0 / 1.244 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001089/0.9926, allocations: 307.4 kB / 1.244 GB, free: 12.36 MB / 0.9981 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.001222/0.9938, allocations: 0.4886 MB / 1.244 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.9961, allocations: 1.113 MB / 1.245 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9961, allocations: 0 / 1.245 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.9973, allocations: 0.7106 MB / 1.246 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.9989, allocations: 282.3 kB / 1.246 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/1.006, allocations: 4.822 MB / 1.251 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.007, allocations: 1.544 MB / 1.253 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.007, allocations: 71.41 kB / 1.253 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.007, allocations: 0 / 1.253 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of Templates: time 0.5568/1.564, allocations: 32.24 MB / 1.284 GB, free: 216 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches