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.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.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.00122/0.00122, allocations: 97.78 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.001861/0.001862, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 13.53 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1526/0.4324, allocations: 152.4 MB / 1.208 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.4566, allocations: 21.38 MB / 1.229 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.458, allocations: 43.75 kB / 1.229 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.4595, allocations: 1.134 MB / 1.23 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.4608, allocations: 0.806 MB / 1.231 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.4618, allocations: 386.1 kB / 1.231 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4632, allocations: 1.348 MB / 1.233 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.4639, allocations: 0.5889 MB / 1.233 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.4645, allocations: 478.2 kB / 1.234 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/0.4654, allocations: 0.8902 MB / 1.235 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.4655, allocations: 28 kB / 1.235 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.4657, allocations: 63.98 kB / 1.235 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4659, allocations: 288.7 kB / 1.235 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.4663, allocations: 478.5 kB / 1.235 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.4671, allocations: 0.8924 MB / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4671, allocations: 0 / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4671, allocations: 0 / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.4671, allocations: 4 kB / 1.236 GB, free: 15.18 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.001928/0.4691, allocations: 1.32 MB / 1.238 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4691, allocations: 15.97 kB / 1.238 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.4693, allocations: 131.3 kB / 1.238 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.47, allocations: 0.6627 MB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.4702, allocations: 70.69 kB / 1.238 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.4703, allocations: 48 kB / 1.238 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.4712, allocations: 0.5301 MB / 1.239 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4712, allocations: 4 kB / 1.239 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.4713, allocations: 19.98 kB / 1.239 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.4713, allocations: 12 kB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.4722, allocations: 427.7 kB / 1.239 GB, free: 11.83 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.003403/0.4756, allocations: 2.79 MB / 1.242 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/0.4765, allocations: 463.6 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.4772, allocations: 313.3 kB / 1.243 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4773, allocations: 4.328 kB / 1.243 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.4778, allocations: 300 kB / 1.243 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.635e-06/0.4778, allocations: 0 / 1.243 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002673/0.4805, allocations: 1.187 MB / 1.244 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4806, allocations: 55.41 kB / 1.244 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.4824, allocations: 1.764 MB / 1.246 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.4824, allocations: 41.69 kB / 1.246 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.4829, allocations: 0.5211 MB / 1.247 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.483, allocations: 145.9 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.4831, allocations: 57.69 kB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4832, allocations: 329.9 kB / 1.247 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.4837, allocations: 233 kB / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.4843, allocations: 355.2 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.4853, allocations: 0.5424 MB / 1.248 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4853, allocations: 3.938 kB / 1.248 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001621/0.4869, allocations: 0.8454 MB / 1.249 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.487, allocations: 8 kB / 1.249 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.487, allocations: 7.938 kB / 1.249 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.4874, allocations: 132.8 kB / 1.249 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.4878, allocations: 112 kB / 1.249 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4765/0.9643, allocations: 2.38 MB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.965, allocations: 96 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.9651, allocations: 21.81 kB / 1.252 GB, free: 191.4 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.0005789/0.9657, allocations: 395.1 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.9658, allocations: 120 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.9661, allocations: 138.5 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.9661, allocations: 4.75 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.9662, allocations: 6.812 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9662, allocations: 2.109 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.9687, allocations: 1.517 MB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.9687, allocations: 0.9688 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.969, allocations: 51.28 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004093/0.9694, allocations: 171.9 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.9695, allocations: 11.5 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.9723, allocations: 3.689 MB / 1.258 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9724, allocations: 0 / 1.258 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.9739, allocations: 1.029 MB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.9742, allocations: 211.9 kB / 1.259 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.9743, allocations: 15.64 kB / 1.259 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.9746, allocations: 44.58 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.9748, allocations: 55.7 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.9748, allocations: 12.17 kB / 1.259 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001226/0.976, allocations: 1.287 MB / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9761, allocations: 0 / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007442/0.9768, allocations: 206 kB / 1.26 GB, free: 187.8 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.001122/0.9779, allocations: 488.3 kB / 1.261 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.9792, allocations: 0.6917 MB / 1.262 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9793, allocations: 0 / 1.262 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.98, allocations: 0.541 MB / 1.262 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.981, allocations: 186 kB / 1.262 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.9843, allocations: 2.811 MB / 1.265 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.9849, allocations: 1.15 MB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.9851, allocations: 41.94 kB / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.9851, allocations: 0 / 1.266 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02617/1.011, allocations: 17.62 MB / 1.283 GB, free: 180 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/jenkins1/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