Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase3,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.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_latest_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.0007669/0.0007669, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005008/0.005008, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 8.531 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1602/0.5056, allocations: 152.4 MB / 1.207 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0292/0.5348, allocations: 21.38 MB / 1.228 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.5377, allocations: 47.69 kB / 1.228 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.5401, allocations: 1.13 MB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.5427, allocations: 0.8138 MB / 1.23 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.5447, allocations: 386.3 kB / 1.231 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.5473, allocations: 1.352 MB / 1.232 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5486, allocations: 0.585 MB / 1.233 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.5497, allocations: 482.2 kB / 1.233 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.5514, allocations: 0.8824 MB / 1.234 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.5516, allocations: 31.94 kB / 1.234 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.552, allocations: 71.97 kB / 1.234 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.5524, allocations: 284.8 kB / 1.234 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006595/0.5531, allocations: 478.5 kB / 1.235 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.5549, allocations: 1.125 MB / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.86e-06/0.5549, allocations: 0 / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.39e-05/0.5549, allocations: 0 / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.555, allocations: 0 / 1.236 GB, free: 15.46 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.003785/0.5588, allocations: 1.32 MB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.5588, allocations: 12.03 kB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.5592, allocations: 135.3 kB / 1.237 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.5607, allocations: 0.6549 MB / 1.238 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.5609, allocations: 74.69 kB / 1.238 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.5611, allocations: 48 kB / 1.238 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.5629, allocations: 0.5302 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.5629, allocations: 7.922 kB / 1.239 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.563, allocations: 20 kB / 1.239 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5631, allocations: 12 kB / 1.239 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.5647, allocations: 427.7 kB / 1.239 GB, free: 12.11 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.00684/0.5716, allocations: 2.79 MB / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.5733, allocations: 461.9 kB / 1.242 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.5745, allocations: 318.9 kB / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.5745, allocations: 8.328 kB / 1.242 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000989/0.5755, allocations: 296 kB / 1.243 GB, free: 8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 3.687e-06/0.5756, allocations: 4 kB / 1.243 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.004932/0.5805, allocations: 1.183 MB / 1.244 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5806, allocations: 55.41 kB / 1.244 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.5842, allocations: 1.768 MB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.5844, allocations: 41.7 kB / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.5852, allocations: 0.5211 MB / 1.246 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.5854, allocations: 142 kB / 1.246 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5856, allocations: 53.69 kB / 1.246 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5858, allocations: 326 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.5868, allocations: 233 kB / 1.247 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.588, allocations: 363.1 kB / 1.247 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.5899, allocations: 0.5304 MB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5899, allocations: 3.938 kB / 1.248 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003287/0.5932, allocations: 0.8538 MB / 1.249 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.5932, allocations: 8 kB / 1.249 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5933, allocations: 4 kB / 1.249 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.594, allocations: 137 kB / 1.249 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.5949, allocations: 111.8 kB / 1.249 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5921/1.187, allocations: 2.374 MB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/1.188, allocations: 95.11 kB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/1.188, allocations: 22.42 kB / 1.251 GB, free: 192 MB / 0.9981 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.0007943/1.189, allocations: 392.8 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/1.189, allocations: 119.2 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/1.189, allocations: 138.9 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.189, allocations: 7.25 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.189, allocations: 3.031 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.189, allocations: 3.078 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/1.192, allocations: 1.516 MB / 1.253 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.192, allocations: 0 / 1.253 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/1.192, allocations: 54.44 kB / 1.253 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/1.192, allocations: 165.2 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.193, allocations: 16.16 kB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/1.195, allocations: 3.697 MB / 1.257 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.195, allocations: 3.422 kB / 1.257 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.197, allocations: 1.019 MB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/1.197, allocations: 213.7 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/1.197, allocations: 9.781 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.198, allocations: 54.83 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.198, allocations: 50.81 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.198, allocations: 14.86 kB / 1.259 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001235/1.199, allocations: 1.286 MB / 1.26 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.199, allocations: 0 / 1.26 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007813/1.2, allocations: 202 kB / 1.26 GB, free: 188.5 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,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.001143/1.201, allocations: 489.1 kB / 1.26 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.202, allocations: 0.699 MB / 1.261 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.202, allocations: 0 / 1.261 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/1.203, allocations: 0.5376 MB / 1.262 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.204, allocations: 192.1 kB / 1.262 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/1.208, allocations: 2.758 MB / 1.265 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/1.209, allocations: 1.149 MB / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003496/1.209, allocations: 91.41 kB / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.209, allocations: 43 kB / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1.209, allocations: 0 / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02282/1.232, allocations: 9.223 MB / 1.275 GB, free: 185.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches