Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 110.5 kB / 15.99 MB, free: 6.352 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.002005/0.002005, allocations: 192.4 kB / 16.91 MB, free: 6.184 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.7 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2728, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6159/0.8887, allocations: 154.6 MB / 1.215 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.9128, allocations: 21.5 MB / 1.236 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.9147, allocations: 51.69 kB / 1.236 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.9163, allocations: 1.119 MB / 1.237 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.9177, allocations: 0.8216 MB / 1.238 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.9187, allocations: 403 kB / 1.238 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.92, allocations: 1.251 MB / 1.239 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.9207, allocations: 0.6813 MB / 1.24 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.9214, allocations: 0.5567 MB / 1.24 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009573/0.9224, allocations: 0.9567 MB / 1.241 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.9225, allocations: 64 kB / 1.241 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.9227, allocations: 112 kB / 1.242 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.923, allocations: 336.7 kB / 1.242 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.9234, allocations: 496.8 kB / 1.242 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.9243, allocations: 0.9199 MB / 1.243 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9243, allocations: 0 / 1.243 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9243, allocations: 0 / 1.243 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.9243, allocations: 0 / 1.243 GB, free: 1.785 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002179/0.9265, allocations: 1.483 MB / 1.245 GB, free: 256 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.9265, allocations: 12.62 kB / 1.245 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.9267, allocations: 135.3 kB / 1.245 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.9275, allocations: 0.6513 MB / 1.245 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.9276, allocations: 70.62 kB / 1.246 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.9277, allocations: 51.98 kB / 1.246 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.9286, allocations: 0.5223 MB / 1.246 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.9287, allocations: 0 / 1.246 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.9287, allocations: 20 kB / 1.246 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.9287, allocations: 15.98 kB / 1.246 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.9295, allocations: 411.7 kB / 1.247 GB, free: 14.3 MB / 0.9669 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.003324/0.9329, allocations: 2.803 MB / 1.249 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.9338, allocations: 460 kB / 1.25 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.9344, allocations: 285.3 kB / 1.25 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.9344, allocations: 4.656 kB / 1.25 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005446/0.935, allocations: 298.1 kB / 1.25 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.844e-06/0.935, allocations: 0 / 1.25 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002803/0.9378, allocations: 1.248 MB / 1.251 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.9379, allocations: 59.39 kB / 1.252 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.9396, allocations: 1.748 MB / 1.253 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.9396, allocations: 37.7 kB / 1.253 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.94, allocations: 0.5179 MB / 1.254 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.9401, allocations: 149.9 kB / 1.254 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.9403, allocations: 98.19 kB / 1.254 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9404, allocations: 330 kB / 1.254 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.9409, allocations: 213 kB / 1.255 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.9414, allocations: 332.8 kB / 1.255 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.9423, allocations: 0.5099 MB / 1.255 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9423, allocations: 4 kB / 1.255 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001563/0.9439, allocations: 0.8458 MB / 1.256 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9439, allocations: 8 kB / 1.256 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9439, allocations: 4 kB / 1.256 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.9445, allocations: 188.8 kB / 1.256 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.9448, allocations: 99.81 kB / 1.256 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.9483, allocations: 2.994 MB / 1.259 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.9487, allocations: 83.55 kB / 1.259 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.9488, allocations: 16 kB / 1.259 GB, free: 444 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00044/0.9492, allocations: 391.2 kB / 1.26 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.9493, allocations: 118.5 kB / 1.26 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.9496, allocations: 147.6 kB / 1.26 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9496, allocations: 4 kB / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9496, allocations: 8 kB / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9496, allocations: 0 / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.952, allocations: 1.567 MB / 1.262 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.952, allocations: 3.938 kB / 1.262 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.9522, allocations: 39.97 kB / 1.262 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.9527, allocations: 197.5 kB / 1.262 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.9528, allocations: 16 kB / 1.262 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004378/0.9572, allocations: 4.553 MB / 1.266 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9572, allocations: 0 / 1.266 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.9589, allocations: 1.064 MB / 1.267 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.9592, allocations: 211.6 kB / 1.268 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.9593, allocations: 12 kB / 1.268 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.9596, allocations: 39.86 kB / 1.268 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.9598, allocations: 55.92 kB / 1.268 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.9598, allocations: 16 kB / 1.268 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001397/0.9612, allocations: 1.284 MB / 1.269 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9612, allocations: 4 kB / 1.269 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007455/0.962, allocations: 211.7 kB / 1.269 GB, free: 6.121 MB / 0.9825 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,13,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.001076/0.9631, allocations: 480.4 kB / 1.27 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.9646, allocations: 0.7486 MB / 1.27 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.9647, allocations: 4 kB / 1.27 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.9655, allocations: 0.5559 MB / 1.271 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.9665, allocations: 212.1 kB / 1.271 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.9702, allocations: 2.738 MB / 1.274 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.971, allocations: 1.146 MB / 1.275 GB, free: 340 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.9711, allocations: 47.38 kB / 1.275 GB, free: 292 kB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.9712, allocations: 0 / 1.275 GB, free: 292 kB / 0.9825 GB Notification: Performance of Templates: time 0.02354/0.9947, allocations: 17.83 MB / 1.292 GB, free: 14.49 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches