Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007748/0.0007749, allocations: 98.88 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.0008986/0.0008987, allocations: 186.7 kB / 16.92 MB, free: 6.684 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8.781 kB / 0.9034 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1564/0.4486, allocations: 153.9 MB / 1.21 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.4749, allocations: 21.85 MB / 1.231 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.4773, allocations: 59.62 kB / 1.231 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.4799, allocations: 1.949 MB / 1.233 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.4824, allocations: 1.281 MB / 1.234 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.4843, allocations: 0.6048 MB / 1.235 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.4869, allocations: 2.028 MB / 1.237 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4886, allocations: 1.007 MB / 1.238 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.4899, allocations: 0.7629 MB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.4917, allocations: 1.369 MB / 1.24 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.492, allocations: 40 kB / 1.24 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.4924, allocations: 87.98 kB / 1.24 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.4929, allocations: 479.8 kB / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007963/0.4937, allocations: 0.7655 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.4951, allocations: 1.438 MB / 1.242 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4951, allocations: 0 / 1.242 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4951, allocations: 0 / 1.242 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.436e-05/0.4952, allocations: 4 kB / 1.242 GB, free: 8.746 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003569/0.4988, allocations: 2.082 MB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4988, allocations: 15.97 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.4993, allocations: 241.9 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5008, allocations: 1.046 MB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.501, allocations: 103.7 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5012, allocations: 87.98 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.5029, allocations: 0.8808 MB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.5029, allocations: 3.906 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.503, allocations: 32 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.503, allocations: 20 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5044, allocations: 0.6674 MB / 1.248 GB, free: 3.406 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.555/1.059, allocations: 4.232 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.061, allocations: 0.7229 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/1.062, allocations: 426.5 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/1.062, allocations: 11.23 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008331/1.063, allocations: 449.6 kB / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 3.967e-06/1.063, allocations: 0 / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.006229/1.069, allocations: 2.157 MB / 1.255 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.069, allocations: 91.23 kB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/1.072, allocations: 3.203 MB / 1.259 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/1.073, allocations: 49.73 kB / 1.259 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/1.073, allocations: 0.9575 MB / 1.26 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/1.074, allocations: 261.1 kB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.074, allocations: 82.11 kB / 1.26 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/1.074, allocations: 345.4 kB / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/1.074, allocations: 330.8 kB / 1.26 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/1.075, allocations: 486.3 kB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/1.077, allocations: 0.7628 MB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.077, allocations: 3.688 kB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002448/1.079, allocations: 1.272 MB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.079, allocations: 8.172 kB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.079, allocations: 5.812 kB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.08, allocations: 321.6 kB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/1.081, allocations: 144 kB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/1.087, allocations: 3.801 MB / 1.267 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.088, allocations: 127.2 kB / 1.267 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/1.088, allocations: 33.7 kB / 1.267 GB, free: 187.7 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: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001139/1.089, allocations: 0.588 MB / 1.268 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/1.09, allocations: 209.7 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/1.09, allocations: 251.6 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.09, allocations: 8.219 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.09, allocations: 1.125 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.09, allocations: 4.453 kB / 1.268 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/1.095, allocations: 2.428 MB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.095, allocations: 4.531 kB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/1.096, allocations: 76 kB / 1.271 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/1.097, allocations: 339.8 kB / 1.271 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/1.097, allocations: 20.48 kB / 1.271 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006646/1.104, allocations: 5.078 MB / 1.276 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.104, allocations: 0.6094 kB / 1.276 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/1.107, allocations: 1.592 MB / 1.278 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/1.108, allocations: 331.4 kB / 1.278 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.108, allocations: 20.3 kB / 1.278 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/1.109, allocations: 65.58 kB / 1.278 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.109, allocations: 96.03 kB / 1.278 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.109, allocations: 25.73 kB / 1.278 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00326/1.113, allocations: 2.337 MB / 1.28 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.72e-07/1.113, allocations: 0 / 1.28 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00165/1.114, allocations: 326 kB / 1.281 GB, free: 181.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/1.115, allocations: 0.4937 MB / 1.281 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002604/1.118, allocations: 1.05 MB / 1.282 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.118, allocations: 5.844 kB / 1.282 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.12, allocations: 0.7812 MB / 1.283 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.122, allocations: 284.7 kB / 1.283 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/1.13, allocations: 4.822 MB / 1.288 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.131, allocations: 1.524 MB / 1.289 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.131, allocations: 63.72 kB / 1.29 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.131, allocations: 4 kB / 1.29 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04245/1.174, allocations: 32.01 MB / 1.321 GB, free: 150.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[2],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[2],time