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.00171/0.00171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002277/0.002278, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 70.91 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2792, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1569/0.4362, allocations: 154.5 MB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.4626, allocations: 21.6 MB / 1.224 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.4648, allocations: 47.69 kB / 1.224 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.4667, allocations: 1.126 MB / 1.225 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.4685, allocations: 0.8176 MB / 1.226 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.4699, allocations: 386.2 kB / 1.226 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4716, allocations: 1.349 MB / 1.228 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009868/0.4726, allocations: 0.6161 MB / 1.228 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000996/0.4736, allocations: 498.3 kB / 1.229 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.4748, allocations: 0.9098 MB / 1.23 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.475, allocations: 36 kB / 1.23 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.4753, allocations: 83.91 kB / 1.23 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.4756, allocations: 296.8 kB / 1.23 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.4761, allocations: 468.8 kB / 1.23 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.4772, allocations: 1.156 MB / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4772, allocations: 0 / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of FrontEnd: time 8.02e-07/0.4772, allocations: 0 / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.897e-05/0.4773, allocations: 0 / 1.232 GB, free: 368 kB / 0.9825 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.002632/0.4799, allocations: 1.479 MB / 1.233 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.48, allocations: 12.03 kB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.4802, allocations: 131.3 kB / 1.233 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008758/0.4811, allocations: 0.6588 MB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.4812, allocations: 74.62 kB / 1.234 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.4813, allocations: 44 kB / 1.234 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4823, allocations: 0.5223 MB / 1.234 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4824, allocations: 4 kB / 1.234 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.4824, allocations: 19.98 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4824, allocations: 12 kB / 1.235 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008669/0.4833, allocations: 415.7 kB / 1.235 GB, free: 12.88 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.003615/0.4869, allocations: 2.804 MB / 1.238 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.488, allocations: 456 kB / 1.238 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.4885, allocations: 286.7 kB / 1.238 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.4886, allocations: 8.656 kB / 1.238 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.4892, allocations: 290.1 kB / 1.239 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.275e-06/0.4892, allocations: 3.938 kB / 1.239 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002955/0.4921, allocations: 1.241 MB / 1.24 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.4922, allocations: 59.39 kB / 1.24 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.494, allocations: 1.748 MB / 1.242 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.4941, allocations: 37.69 kB / 1.242 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.4945, allocations: 0.5217 MB / 1.242 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4947, allocations: 146 kB / 1.242 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4948, allocations: 94.25 kB / 1.242 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4949, allocations: 329.9 kB / 1.243 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.4954, allocations: 224.9 kB / 1.243 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.496, allocations: 328.9 kB / 1.243 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/0.4969, allocations: 0.5108 MB / 1.244 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4969, allocations: 0 / 1.244 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001665/0.4986, allocations: 0.8474 MB / 1.245 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4986, allocations: 8 kB / 1.245 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4986, allocations: 3.938 kB / 1.245 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.4992, allocations: 188.6 kB / 1.245 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.4995, allocations: 96 kB / 1.245 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5547/1.054, allocations: 2.737 MB / 1.248 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/1.055, allocations: 78.14 kB / 1.248 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/1.055, allocations: 18.48 kB / 1.248 GB, free: 194.9 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.0005624/1.055, allocations: 388.4 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/1.056, allocations: 121.3 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/1.056, allocations: 137.5 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.056, allocations: 6.375 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.056, allocations: 7.25 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.056, allocations: 2.297 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.058, allocations: 1.565 MB / 1.25 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.058, allocations: 1.891 kB / 1.25 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/1.059, allocations: 46.78 kB / 1.25 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/1.059, allocations: 191.5 kB / 1.25 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/1.059, allocations: 16.73 kB / 1.25 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/1.063, allocations: 4.125 MB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.063, allocations: 3.594 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.064, allocations: 1.061 MB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/1.065, allocations: 213.1 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/1.065, allocations: 11.72 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.065, allocations: 38.94 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.065, allocations: 49.8 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/1.065, allocations: 25 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001249/1.066, allocations: 1.275 MB / 1.257 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.066, allocations: 0 / 1.257 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008426/1.067, allocations: 211.6 kB / 1.257 GB, free: 191.2 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.001111/1.068, allocations: 491.7 kB / 1.257 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.07, allocations: 0.7159 MB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.07, allocations: 0 / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/1.071, allocations: 0.5487 MB / 1.259 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.072, allocations: 185.1 kB / 1.259 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/1.075, allocations: 2.7 MB / 1.261 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.076, allocations: 1.145 MB / 1.262 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003402/1.076, allocations: 93.56 kB / 1.263 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.076, allocations: 45.67 kB / 1.263 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.076, allocations: 3.938 kB / 1.263 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02339/1.1, allocations: 9.845 MB / 1.272 GB, free: 187.9 MB / 0.9981 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/jenkins/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