Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, 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.001707/0.001707, 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.36/1.36, 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 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.69 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3049, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.645/0.9499, allocations: 156.8 MB / 1.171 GB, free: 68 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02793/0.9779, allocations: 21.75 MB / 1.192 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.9807, allocations: 50.62 kB / 1.192 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.9828, allocations: 1.168 MB / 1.193 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.9847, allocations: 0.8474 MB / 1.194 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.9862, allocations: 448.5 kB / 1.195 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.9881, allocations: 1.242 MB / 1.196 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.9893, allocations: 0.695 MB / 1.197 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.9905, allocations: 0.551 MB / 1.197 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.9918, allocations: 0.9122 MB / 1.198 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.9921, allocations: 65.75 kB / 1.198 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.9926, allocations: 116.9 kB / 1.198 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.9929, allocations: 315.5 kB / 1.199 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.9936, allocations: 491.5 kB / 1.199 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.995, allocations: 1.176 MB / 1.2 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.995, allocations: 0 / 1.2 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/0.995, allocations: 0 / 1.2 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.465e-05/0.9951, allocations: 0 / 1.2 GB, free: 10.05 MB / 0.9044 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.00282/0.9979, allocations: 1.484 MB / 1.202 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.9979, allocations: 10.7 kB / 1.202 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.9982, allocations: 134.2 kB / 1.202 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.9991, allocations: 0.6571 MB / 1.202 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.9993, allocations: 71.56 kB / 1.202 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.9994, allocations: 46.72 kB / 1.202 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1, allocations: 0.5186 MB / 1.203 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1, allocations: 0 / 1.203 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/1, allocations: 17.41 kB / 1.203 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/1, allocations: 10.31 kB / 1.203 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/1.001, allocations: 422.5 kB / 1.203 GB, free: 7.652 MB / 0.9044 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.0039/1.005, allocations: 2.735 MB / 1.206 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/1.006, allocations: 441.9 kB / 1.207 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/1.007, allocations: 322.3 kB / 1.207 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/1.007, allocations: 5.938 kB / 1.207 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005715/1.008, allocations: 287.3 kB / 1.207 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 3.165e-06/1.008, allocations: 0 / 1.207 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002702/1.01, allocations: 1.138 MB / 1.208 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.01, allocations: 60.5 kB / 1.208 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/1.012, allocations: 1.763 MB / 1.21 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/1.013, allocations: 38.48 kB / 1.21 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/1.013, allocations: 0.5325 MB / 1.211 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/1.013, allocations: 141.8 kB / 1.211 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.013, allocations: 96.3 kB / 1.211 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.013, allocations: 337.2 kB / 1.211 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/1.014, allocations: 209.5 kB / 1.211 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/1.014, allocations: 339.2 kB / 1.212 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/1.015, allocations: 0.5111 MB / 1.212 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.015, allocations: 0 / 1.212 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001657/1.017, allocations: 0.8121 MB / 1.213 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.017, allocations: 12.41 kB / 1.213 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.017, allocations: 5.375 kB / 1.213 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/1.018, allocations: 138.6 kB / 1.213 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.018, allocations: 103.8 kB / 1.213 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/1.021, allocations: 2.604 MB / 1.216 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/1.021, allocations: 71.5 kB / 1.216 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/1.021, allocations: 20 kB / 1.216 GB, free: 14.19 MB / 0.92 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.0005535/1.022, allocations: 397.5 kB / 1.216 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.022, allocations: 118.5 kB / 1.216 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/1.023, allocations: 143.7 kB / 1.216 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.023, allocations: 4 kB / 1.216 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.023, allocations: 4 kB / 1.216 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.023, allocations: 3.984 kB / 1.216 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/1.025, allocations: 1.492 MB / 1.218 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.025, allocations: 0 / 1.218 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.025, allocations: 47.97 kB / 1.218 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/1.026, allocations: 169.5 kB / 1.218 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/1.026, allocations: 8 kB / 1.218 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/1.03, allocations: 4.031 MB / 1.222 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.03, allocations: 4 kB / 1.222 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.031, allocations: 0.991 MB / 1.223 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/1.032, allocations: 215.6 kB / 1.223 GB, free: 6.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/1.032, allocations: 8 kB / 1.223 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/1.032, allocations: 31.97 kB / 1.223 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.032, allocations: 47.92 kB / 1.223 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/1.033, allocations: 19.98 kB / 1.223 GB, free: 6.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001532/1.034, allocations: 1.296 MB / 1.225 GB, free: 4.789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.225 GB, free: 4.789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008149/1.035, allocations: 195.7 kB / 1.225 GB, free: 4.598 MB / 0.92 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.001196/1.036, allocations: 483 kB / 1.225 GB, free: 4.309 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.038, allocations: 0.6996 MB / 1.226 GB, free: 3.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.038, allocations: 0 / 1.226 GB, free: 3.598 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/1.039, allocations: 0.521 MB / 1.226 GB, free: 3.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.04, allocations: 210.2 kB / 1.227 GB, free: 2.852 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/1.044, allocations: 2.43 MB / 1.229 GB, free: 392 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/1.045, allocations: 1.145 MB / 1.23 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.045, allocations: 51.42 kB / 1.23 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/1.045, allocations: 0 / 1.23 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.02503/1.07, allocations: 17.8 MB / 1.248 GB, free: 13.39 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches