Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001584/0.001584, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.8 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3445, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1597/0.5043, allocations: 154.9 MB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.5316, allocations: 21.62 MB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.5343, allocations: 51.69 kB / 1.24 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.5366, allocations: 1.306 MB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.5387, allocations: 0.9385 MB / 1.242 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.5405, allocations: 446.7 kB / 1.243 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002457/0.5429, allocations: 1.438 MB / 1.244 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.5443, allocations: 0.7813 MB / 1.245 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5455, allocations: 0.6542 MB / 1.246 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.5471, allocations: 1.144 MB / 1.247 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.5474, allocations: 75.94 kB / 1.247 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.5479, allocations: 120 kB / 1.247 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.5483, allocations: 392.5 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.5491, allocations: 0.5627 MB / 1.248 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.5507, allocations: 1.339 MB / 1.249 GB, free: 408 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5507, allocations: 0 / 1.249 GB, free: 408 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5507, allocations: 0 / 1.249 GB, free: 408 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.103e-05/0.5508, allocations: 4 kB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.4825/1.033, allocations: 1.675 MB / 1.251 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.033, allocations: 9.094 kB / 1.251 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/1.034, allocations: 161.4 kB / 1.251 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/1.035, allocations: 0.7437 MB / 1.252 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/1.035, allocations: 78.5 kB / 1.252 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/1.035, allocations: 52.31 kB / 1.252 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/1.036, allocations: 0.5715 MB / 1.252 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.036, allocations: 5.969 kB / 1.252 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/1.036, allocations: 23.8 kB / 1.252 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/1.036, allocations: 12.38 kB / 1.252 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/1.037, allocations: 453.7 kB / 1.253 GB, free: 186.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.003583/1.041, allocations: 3.007 MB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.042, allocations: 0.4912 MB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/1.042, allocations: 310.9 kB / 1.257 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/1.042, allocations: 9.844 kB / 1.257 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/1.043, allocations: 339.8 kB / 1.257 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/1.043, allocations: 0 / 1.257 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.002891/1.046, allocations: 1.347 MB / 1.258 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.046, allocations: 60.84 kB / 1.258 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.048, allocations: 2.114 MB / 1.26 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/1.048, allocations: 37.72 kB / 1.26 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/1.048, allocations: 0.6277 MB / 1.261 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.048, allocations: 169.7 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.048, allocations: 104.6 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/1.048, allocations: 330.9 kB / 1.262 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/1.049, allocations: 230.5 kB / 1.262 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/1.049, allocations: 343.9 kB / 1.262 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/1.05, allocations: 0.5582 MB / 1.263 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.05, allocations: 2.625 kB / 1.263 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001509/1.052, allocations: 0.9169 MB / 1.263 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.052, allocations: 7.406 kB / 1.263 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.052, allocations: 2.969 kB / 1.264 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/1.052, allocations: 197.3 kB / 1.264 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.053, allocations: 111.1 kB / 1.264 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/1.056, allocations: 3.047 MB / 1.267 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/1.056, allocations: 86.92 kB / 1.267 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/1.056, allocations: 22.19 kB / 1.267 GB, free: 180.2 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005111/1.057, allocations: 437 kB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/1.057, allocations: 142.2 kB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.057, allocations: 170.4 kB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.057, allocations: 9.719 kB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.057, allocations: 3.516 kB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/1.057, allocations: 3.453 kB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/1.06, allocations: 1.733 MB / 1.269 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.06, allocations: 0.8125 kB / 1.269 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/1.06, allocations: 50.44 kB / 1.269 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/1.061, allocations: 201.6 kB / 1.27 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/1.061, allocations: 15.91 kB / 1.27 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/1.064, allocations: 4.605 MB / 1.274 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.064, allocations: 6.453 kB / 1.274 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/1.066, allocations: 1.168 MB / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/1.067, allocations: 232.6 kB / 1.275 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.067, allocations: 15 kB / 1.275 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/1.067, allocations: 37.62 kB / 1.275 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.068, allocations: 61.98 kB / 1.276 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/1.068, allocations: 19.83 kB / 1.276 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002817/1.071, allocations: 1.548 MB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.071, allocations: 0 / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001048/1.072, allocations: 237.2 kB / 1.277 GB, free: 173.7 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001232/1.073, allocations: 490.5 kB / 1.278 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.075, allocations: 0.801 MB / 1.279 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.075, allocations: 0.5 kB / 1.279 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009878/1.076, allocations: 0.5824 MB / 1.279 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.077, allocations: 220.3 kB / 1.279 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/1.081, allocations: 3.184 MB / 1.282 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.082, allocations: 1.242 MB / 1.284 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003695/1.082, allocations: 101.8 kB / 1.284 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/1.082, allocations: 53.53 kB / 1.284 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/1.082, allocations: 4 kB / 1.284 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02248/1.105, allocations: 11.22 MB / 1.295 GB, free: 166.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches