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.001049/0.001049, 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.001124/0.001125, allocations: 191.9 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.8 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 69.39 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1631/0.4886, allocations: 154.5 MB / 1.203 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.5141, allocations: 21.6 MB / 1.224 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.5162, allocations: 43.75 kB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.5179, allocations: 1.13 MB / 1.225 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.5194, allocations: 0.8138 MB / 1.226 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5206, allocations: 386.4 kB / 1.226 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.5221, allocations: 1.356 MB / 1.228 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/0.5229, allocations: 0.6123 MB / 1.228 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.5237, allocations: 498.2 kB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.5248, allocations: 0.9097 MB / 1.23 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.5249, allocations: 40 kB / 1.23 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.5252, allocations: 75.97 kB / 1.23 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.5255, allocations: 304.8 kB / 1.23 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.5259, allocations: 460.8 kB / 1.23 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009758/0.5269, allocations: 1.16 MB / 1.232 GB, free: 336 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5269, allocations: 0 / 1.232 GB, free: 336 kB / 0.9825 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5269, allocations: 0 / 1.232 GB, free: 336 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.527, allocations: 4 kB / 1.232 GB, free: 332 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.002508/0.5295, allocations: 1.475 MB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5295, allocations: 12.03 kB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.5298, allocations: 131.3 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.5306, allocations: 0.6627 MB / 1.234 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.5307, allocations: 74.69 kB / 1.234 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.5308, allocations: 44 kB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.5318, allocations: 0.5184 MB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.5318, allocations: 0 / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.5319, allocations: 20 kB / 1.234 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.5319, allocations: 12 kB / 1.235 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.5328, allocations: 415.7 kB / 1.235 GB, free: 12.85 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.003475/0.5363, allocations: 2.736 MB / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.5372, allocations: 443.7 kB / 1.238 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.5379, allocations: 302.9 kB / 1.238 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.5379, allocations: 12.64 kB / 1.238 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/0.5385, allocations: 283.3 kB / 1.239 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.5385, allocations: 0 / 1.239 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002595/0.5411, allocations: 1.148 MB / 1.24 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5411, allocations: 59.41 kB / 1.24 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.5429, allocations: 1.76 MB / 1.241 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.543, allocations: 37.7 kB / 1.241 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.5434, allocations: 0.5249 MB / 1.242 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5435, allocations: 142 kB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.5437, allocations: 98.25 kB / 1.242 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.5438, allocations: 329.9 kB / 1.243 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.5442, allocations: 217 kB / 1.243 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.5448, allocations: 343.1 kB / 1.243 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.5457, allocations: 0.5065 MB / 1.244 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5457, allocations: 11.94 kB / 1.244 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001518/0.5472, allocations: 0.8068 MB / 1.244 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5472, allocations: 8 kB / 1.244 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5473, allocations: 4 kB / 1.244 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.5477, allocations: 135.5 kB / 1.245 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5481, allocations: 107.8 kB / 1.245 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5486/1.097, allocations: 2.372 MB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/1.098, allocations: 81.78 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.098, allocations: 22.11 kB / 1.247 GB, free: 195.6 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.0008303/1.099, allocations: 383.2 kB / 1.247 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/1.099, allocations: 119.6 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/1.099, allocations: 141.6 kB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.099, allocations: 7.781 kB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.099, allocations: 3.281 kB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.099, allocations: 2.672 kB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.102, allocations: 1.487 MB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.103, allocations: 0.8438 kB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.103, allocations: 43.69 kB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/1.103, allocations: 169 kB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/1.103, allocations: 14.97 kB / 1.249 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/1.106, allocations: 3.694 MB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.106, allocations: 0.9375 kB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/1.108, allocations: 0.9843 MB / 1.254 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/1.108, allocations: 213.4 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/1.108, allocations: 10.47 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/1.109, allocations: 42.3 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.109, allocations: 50.67 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/1.109, allocations: 16.8 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001311/1.11, allocations: 1.284 MB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.11, allocations: 0 / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008252/1.111, allocations: 203.6 kB / 1.256 GB, free: 192.1 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.001134/1.112, allocations: 492.6 kB / 1.256 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.114, allocations: 0.6644 MB / 1.257 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.114, allocations: 1.125 kB / 1.257 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007029/1.114, allocations: 0.5307 MB / 1.257 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.115, allocations: 186.6 kB / 1.257 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.119, allocations: 2.689 MB / 1.26 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/1.12, allocations: 1.148 MB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000351/1.12, allocations: 94.14 kB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/1.12, allocations: 46.12 kB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.12, allocations: 0 / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02604/1.146, allocations: 9.429 MB / 1.271 GB, free: 189 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