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 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.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.001612/0.001612, 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.001618/0.001618, allocations: 192.7 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.84 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3094, allocations: 157.4 MB / 1.052 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1736/0.4831, allocations: 154.8 MB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.5091, allocations: 21.73 MB / 1.224 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.5119, allocations: 55.69 kB / 1.225 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.514, allocations: 1.298 MB / 1.226 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.5157, allocations: 0.9422 MB / 1.227 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.5174, allocations: 449.2 kB / 1.227 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.5192, allocations: 1.516 MB / 1.229 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.5204, allocations: 0.7177 MB / 1.229 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.5214, allocations: 0.5723 MB / 1.23 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.5229, allocations: 1.097 MB / 1.231 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.5231, allocations: 44 kB / 1.231 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.5235, allocations: 87.97 kB / 1.231 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.5238, allocations: 356.5 kB / 1.231 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005865/0.5244, allocations: 0.5275 MB / 1.232 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.5257, allocations: 1.319 MB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5257, allocations: 0 / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5257, allocations: 0 / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.329e-05/0.5257, allocations: 0 / 1.233 GB, free: 14.77 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002824/0.5286, allocations: 1.68 MB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5286, allocations: 8.031 kB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.5289, allocations: 163 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.5299, allocations: 0.7438 MB / 1.236 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.53, allocations: 74.69 kB / 1.236 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.5301, allocations: 55.91 kB / 1.236 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5311, allocations: 0.5691 MB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5312, allocations: 4 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.5312, allocations: 20 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5312, allocations: 12 kB / 1.236 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/0.5321, allocations: 443.7 kB / 1.237 GB, free: 10.89 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.003554/0.5357, allocations: 3.026 MB / 1.24 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.5368, allocations: 0.4897 MB / 1.24 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.5374, allocations: 320.5 kB / 1.241 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.5375, allocations: 4.375 kB / 1.241 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.5381, allocations: 337.1 kB / 1.241 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.354e-06/0.5381, allocations: 0 / 1.241 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003044/0.5411, allocations: 1.344 MB / 1.242 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5412, allocations: 63.84 kB / 1.242 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.5432, allocations: 2.116 MB / 1.244 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.5433, allocations: 37.7 kB / 1.244 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.5437, allocations: 0.6207 MB / 1.245 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5439, allocations: 165.6 kB / 1.245 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.544, allocations: 106.3 kB / 1.245 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5442, allocations: 334 kB / 1.246 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.5447, allocations: 237.1 kB / 1.246 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.5452, allocations: 349.9 kB / 1.246 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.5462, allocations: 0.5405 MB / 1.247 GB, free: 384 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5462, allocations: 11.94 kB / 1.247 GB, free: 372 kB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.5325/1.079, allocations: 0.9027 MB / 1.248 GB, free: 196 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.079, allocations: 7.109 kB / 1.248 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.079, allocations: 3.375 kB / 1.248 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/1.079, allocations: 196.2 kB / 1.248 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/1.08, allocations: 105.1 kB / 1.248 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/1.083, allocations: 2.799 MB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/1.083, allocations: 88.95 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.084, allocations: 21.89 kB / 1.251 GB, free: 194.6 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.0006074/1.084, allocations: 448.4 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.084, allocations: 137.3 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/1.085, allocations: 163.7 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.085, allocations: 5.469 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.085, allocations: 2.781 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.085, allocations: 3.188 kB / 1.251 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.087, allocations: 1.733 MB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.087, allocations: 6.109 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.087, allocations: 46.58 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/1.088, allocations: 204.9 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/1.088, allocations: 13.45 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/1.091, allocations: 4.178 MB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.091, allocations: 0.5625 kB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.093, allocations: 1.159 MB / 1.259 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/1.093, allocations: 243.6 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/1.093, allocations: 15.89 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/1.093, allocations: 38.44 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.094, allocations: 59.7 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/1.094, allocations: 19.69 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001438/1.095, allocations: 1.55 MB / 1.26 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.095, allocations: 0 / 1.26 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007599/1.096, allocations: 225.4 kB / 1.261 GB, free: 190.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: 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.001078/1.097, allocations: 491 kB / 1.261 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.098, allocations: 0.7553 MB / 1.262 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.098, allocations: 2.625 kB / 1.262 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/1.099, allocations: 0.5779 MB / 1.262 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.1, allocations: 218 kB / 1.263 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.105, allocations: 3.164 MB / 1.266 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/1.105, allocations: 1.246 MB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003454/1.106, allocations: 103.6 kB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.106, allocations: 50.97 kB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.106, allocations: 3.5 kB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02216/1.128, allocations: 10.81 MB / 1.278 GB, free: 186.3 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