Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.004764/0.004764, allocations: 99.55 kB / 15.73 MB, free: 6.059 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.001094/0.001094, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2899, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.8504/1.14, allocations: 157.5 MB / 1.374 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02916/1.17, allocations: 21.93 MB / 1.396 GB, free: 8.895 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/1.172, allocations: 57 kB / 1.396 GB, free: 8.875 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/1.174, allocations: 1.35 MB / 1.397 GB, free: 8.172 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/1.177, allocations: 0.9892 MB / 1.398 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/1.178, allocations: 0.5006 MB / 1.399 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002364/1.181, allocations: 1.428 MB / 1.4 GB, free: 6.375 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.182, allocations: 0.6551 MB / 1.401 GB, free: 5.914 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/1.183, allocations: 0.6491 MB / 1.401 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/1.185, allocations: 1.115 MB / 1.402 GB, free: 5.062 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/1.185, allocations: 71.66 kB / 1.402 GB, free: 5.062 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/1.186, allocations: 117.2 kB / 1.403 GB, free: 5.047 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/1.186, allocations: 379.4 kB / 1.403 GB, free: 4.809 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/1.188, allocations: 0.5539 MB / 1.403 GB, free: 4.395 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/1.191, allocations: 1.365 MB / 1.405 GB, free: 3.453 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.191, allocations: 4 kB / 1.405 GB, free: 3.449 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.615e-06/1.191, allocations: 0 / 1.405 GB, free: 3.449 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001052/1.191, allocations: 0 / 1.405 GB, free: 3.449 MB / 1.092 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.004651/1.195, allocations: 1.732 MB / 1.406 GB, free: 2.094 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.195, allocations: 9.656 kB / 1.406 GB, free: 2.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/1.196, allocations: 175.3 kB / 1.407 GB, free: 1.996 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.197, allocations: 0.7677 MB / 1.407 GB, free: 1.363 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.197, allocations: 76.31 kB / 1.407 GB, free: 1.312 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/1.197, allocations: 54.14 kB / 1.408 GB, free: 1.293 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.198, allocations: 0.5661 MB / 1.408 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.198, allocations: 3.938 kB / 1.408 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/1.198, allocations: 24.34 kB / 1.408 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.198, allocations: 12.53 kB / 1.408 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/1.199, allocations: 439.9 kB / 1.409 GB, free: 0.7188 MB / 1.092 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.003606/1.203, allocations: 3.019 MB / 1.411 GB, free: 14.1 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/1.204, allocations: 465.6 kB / 1.412 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/1.204, allocations: 294.8 kB / 1.412 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/1.204, allocations: 7.688 kB / 1.412 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/1.205, allocations: 322.7 kB / 1.413 GB, free: 13.52 MB / 1.107 GB Notification: Performance of pre-optimization done (n=52): time 1.974e-06/1.205, allocations: 0 / 1.413 GB, free: 13.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=52): time 0.003009/1.208, allocations: 1.355 MB / 1.414 GB, free: 12.7 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.208, allocations: 56.75 kB / 1.414 GB, free: 12.64 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/1.21, allocations: 2.121 MB / 1.416 GB, free: 11.7 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/1.21, allocations: 38.98 kB / 1.416 GB, free: 11.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/1.21, allocations: 0.6258 MB / 1.417 GB, free: 11.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.211, allocations: 177.3 kB / 1.417 GB, free: 10.96 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.211, allocations: 103.9 kB / 1.417 GB, free: 10.89 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.211, allocations: 334.9 kB / 1.417 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/1.211, allocations: 235.4 kB / 1.417 GB, free: 10.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/1.212, allocations: 349.5 kB / 1.418 GB, free: 10.21 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/1.213, allocations: 0.5465 MB / 1.418 GB, free: 9.871 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.213, allocations: 0 / 1.418 GB, free: 9.871 MB / 1.107 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001638/1.214, allocations: 0.9136 MB / 1.419 GB, free: 9.203 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.214, allocations: 12.22 kB / 1.419 GB, free: 9.191 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.214, allocations: 1.125 kB / 1.419 GB, free: 9.191 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/1.215, allocations: 192.7 kB / 1.419 GB, free: 9 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/1.215, allocations: 107.8 kB / 1.419 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/1.219, allocations: 3.053 MB / 1.422 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/1.219, allocations: 84.19 kB / 1.423 GB, free: 5.625 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.219, allocations: 20 kB / 1.423 GB, free: 5.605 MB / 1.107 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.0005541/1.22, allocations: 441.3 kB / 1.423 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.22, allocations: 147 kB / 1.423 GB, free: 5.023 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/1.22, allocations: 166 kB / 1.423 GB, free: 4.859 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.22, allocations: 15.88 kB / 1.423 GB, free: 4.844 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.22, allocations: 3.938 kB / 1.423 GB, free: 4.84 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.22, allocations: 3.75 kB / 1.423 GB, free: 4.84 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/1.223, allocations: 1.727 MB / 1.425 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.223, allocations: 3.938 kB / 1.425 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.223, allocations: 43.97 kB / 1.425 GB, free: 3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/1.223, allocations: 206.6 kB / 1.425 GB, free: 2.793 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/1.223, allocations: 12 kB / 1.425 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/1.228, allocations: 4.622 MB / 1.43 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.228, allocations: 1.562 kB / 1.43 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.23, allocations: 1.164 MB / 1.431 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.23, allocations: 248 kB / 1.431 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.23, allocations: 12 kB / 1.431 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.231, allocations: 35.97 kB / 1.431 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.231, allocations: 60.34 kB / 1.431 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/1.231, allocations: 16.56 kB / 1.431 GB, free: 12.31 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001624/1.232, allocations: 1.545 MB / 1.433 GB, free: 10.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.232, allocations: 0 / 1.433 GB, free: 10.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008042/1.233, allocations: 223.7 kB / 1.433 GB, free: 10.55 MB / 1.123 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.001089/1.234, allocations: 497 kB / 1.433 GB, free: 10.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.236, allocations: 0.7333 MB / 1.434 GB, free: 9.504 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.236, allocations: 0 / 1.434 GB, free: 9.504 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008737/1.237, allocations: 0.5587 MB / 1.435 GB, free: 8.922 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.238, allocations: 236.9 kB / 1.435 GB, free: 8.703 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/1.242, allocations: 2.832 MB / 1.438 GB, free: 5.832 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008236/1.243, allocations: 1.246 MB / 1.439 GB, free: 4.559 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002786/1.243, allocations: 97.11 kB / 1.439 GB, free: 4.461 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.243, allocations: 51.42 kB / 1.439 GB, free: 4.41 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/1.243, allocations: 0 / 1.439 GB, free: 4.41 MB / 1.123 GB Notification: Performance of Templates: time 0.02216/1.265, allocations: 11.68 MB / 1.45 GB, free: 8.867 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches