Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 92.08 kB / 16.02 MB, free: 80 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.0009262/0.0009261, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 9 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1687/0.4867, allocations: 152.4 MB / 1.208 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0261/0.5129, allocations: 21.38 MB / 1.229 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.5147, allocations: 43.75 kB / 1.229 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.5166, allocations: 1.126 MB / 1.23 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.5183, allocations: 0.8138 MB / 1.231 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5196, allocations: 385.3 kB / 1.231 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.5214, allocations: 1.356 MB / 1.233 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/0.5223, allocations: 0.5811 MB / 1.233 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.523, allocations: 474.3 kB / 1.234 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.524, allocations: 0.8902 MB / 1.235 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.5241, allocations: 28 kB / 1.235 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.5243, allocations: 75.95 kB / 1.235 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.5246, allocations: 284.8 kB / 1.235 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.525, allocations: 474.5 kB / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.5258, allocations: 0.8963 MB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5258, allocations: 4 kB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5258, allocations: 0 / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5259, allocations: 0 / 1.236 GB, free: 15.16 MB / 0.9981 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.002052/0.5279, allocations: 1.32 MB / 1.238 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.528, allocations: 11.97 kB / 1.238 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5281, allocations: 131.3 kB / 1.238 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.5289, allocations: 0.6627 MB / 1.238 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5291, allocations: 86.67 kB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.5292, allocations: 43.94 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/0.5302, allocations: 0.534 MB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5302, allocations: 4 kB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.5303, allocations: 20 kB / 1.239 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.5303, allocations: 8 kB / 1.239 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.5312, allocations: 427.7 kB / 1.239 GB, free: 11.8 MB / 0.9981 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.003776/0.5349, allocations: 2.854 MB / 1.242 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.536, allocations: 473.2 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.5366, allocations: 298.9 kB / 1.243 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.5367, allocations: 8.312 kB / 1.243 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.5373, allocations: 314.5 kB / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.5373, allocations: 0 / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003127/0.5404, allocations: 1.273 MB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.5405, allocations: 59.34 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5424, allocations: 1.752 MB / 1.246 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.5425, allocations: 41.69 kB / 1.246 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.5429, allocations: 0.5139 MB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5431, allocations: 150 kB / 1.247 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.5432, allocations: 53.69 kB / 1.247 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5433, allocations: 326.4 kB / 1.247 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.5438, allocations: 237 kB / 1.247 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.5445, allocations: 344.9 kB / 1.248 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.5454, allocations: 0.5334 MB / 1.248 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.5455, allocations: 7.938 kB / 1.248 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001772/0.5472, allocations: 0.8902 MB / 1.249 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5473, allocations: 4.125 kB / 1.249 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5473, allocations: 8 kB / 1.249 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.5478, allocations: 180.7 kB / 1.249 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.5482, allocations: 103.9 kB / 1.249 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5523/1.101, allocations: 2.738 MB / 1.252 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/1.101, allocations: 94.12 kB / 1.252 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/1.101, allocations: 19.34 kB / 1.252 GB, free: 44.43 MB / 0.9981 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.0006117/1.102, allocations: 385.6 kB / 1.253 GB, free: 44.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/1.102, allocations: 119.5 kB / 1.253 GB, free: 44.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/1.102, allocations: 142 kB / 1.253 GB, free: 44.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.102, allocations: 5 kB / 1.253 GB, free: 44.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.102, allocations: 6.719 kB / 1.253 GB, free: 44.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.102, allocations: 2.625 kB / 1.253 GB, free: 44.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/1.105, allocations: 1.589 MB / 1.254 GB, free: 43.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.105, allocations: 4.719 kB / 1.254 GB, free: 43.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/1.105, allocations: 52.25 kB / 1.255 GB, free: 43.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/1.106, allocations: 194.6 kB / 1.255 GB, free: 43.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/1.106, allocations: 15.05 kB / 1.255 GB, free: 43.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/1.109, allocations: 4.134 MB / 1.259 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.109, allocations: 3.469 kB / 1.259 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.111, allocations: 1.085 MB / 1.26 GB, free: 41.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/1.111, allocations: 222.5 kB / 1.26 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/1.111, allocations: 14.66 kB / 1.26 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/1.112, allocations: 47.66 kB / 1.26 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.112, allocations: 51.86 kB / 1.26 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.112, allocations: 20.89 kB / 1.26 GB, free: 40.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001246/1.113, allocations: 1.275 MB / 1.261 GB, free: 40.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 1.261 GB, free: 40.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008509/1.114, allocations: 212.9 kB / 1.262 GB, free: 40.78 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: 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.001117/1.115, allocations: 484.9 kB / 1.262 GB, free: 40.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001659/1.117, allocations: 0.7489 MB / 1.263 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.117, allocations: 0 / 1.263 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/1.118, allocations: 0.5649 MB / 1.263 GB, free: 40.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.119, allocations: 183.9 kB / 1.264 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/1.122, allocations: 2.826 MB / 1.266 GB, free: 39.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/1.123, allocations: 1.148 MB / 1.267 GB, free: 38.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.123, allocations: 50.25 kB / 1.267 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.123, allocations: 0 / 1.267 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.03219/1.155, allocations: 17.63 MB / 1.285 GB, free: 36.05 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches