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.007318/0.007318, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001721/0.001721, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2821, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.8161/1.098, allocations: 157 MB / 1.361 GB, free: 8.625 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04063/1.139, allocations: 21.88 MB / 1.382 GB, free: 8.301 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/1.142, allocations: 55.19 kB / 1.382 GB, free: 8.281 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.143, allocations: 1.339 MB / 1.384 GB, free: 7.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/1.145, allocations: 0.9768 MB / 1.385 GB, free: 6.992 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/1.147, allocations: 0.5076 MB / 1.385 GB, free: 6.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001753/1.148, allocations: 1.438 MB / 1.387 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/1.149, allocations: 0.7784 MB / 1.387 GB, free: 5.309 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/1.15, allocations: 0.6513 MB / 1.388 GB, free: 4.961 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/1.152, allocations: 1.103 MB / 1.389 GB, free: 4.465 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/1.152, allocations: 72.12 kB / 1.389 GB, free: 4.465 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/1.152, allocations: 117.2 kB / 1.389 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/1.152, allocations: 377.6 kB / 1.39 GB, free: 4.211 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/1.153, allocations: 0.5629 MB / 1.39 GB, free: 3.789 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/1.155, allocations: 1.36 MB / 1.392 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.155, allocations: 5.031 kB / 1.392 GB, free: 2.848 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.155, allocations: 0 / 1.392 GB, free: 2.848 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.155, allocations: 0 / 1.392 GB, free: 2.848 MB / 1.076 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.003084/1.158, allocations: 1.682 MB / 1.393 GB, free: 1.539 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.158, allocations: 10.5 kB / 1.393 GB, free: 1.539 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/1.158, allocations: 162.1 kB / 1.393 GB, free: 1.453 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009927/1.159, allocations: 0.7519 MB / 1.394 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.159, allocations: 75.56 kB / 1.394 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.159, allocations: 50.94 kB / 1.394 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.161, allocations: 0.5764 MB / 1.395 GB, free: 420 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/1.161, allocations: 1.094 kB / 1.395 GB, free: 420 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/1.161, allocations: 20.06 kB / 1.395 GB, free: 404 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.161, allocations: 12 kB / 1.395 GB, free: 404 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/1.162, allocations: 440.3 kB / 1.395 GB, free: 192 kB / 1.076 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.004158/1.166, allocations: 3.013 MB / 1.398 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.167, allocations: 0.4934 MB / 1.399 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/1.168, allocations: 316.6 kB / 1.399 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/1.168, allocations: 12.23 kB / 1.399 GB, free: 13.15 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/1.168, allocations: 332.8 kB / 1.399 GB, free: 12.94 MB / 1.092 GB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/1.168, allocations: 2.469 kB / 1.399 GB, free: 12.94 MB / 1.092 GB Notification: Performance of matching and sorting (n=52): time 0.003286/1.172, allocations: 1.341 MB / 1.401 GB, free: 12.15 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.172, allocations: 61.97 kB / 1.401 GB, free: 12.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/1.174, allocations: 2.112 MB / 1.403 GB, free: 11.14 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/1.174, allocations: 42.23 kB / 1.403 GB, free: 11.1 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/1.175, allocations: 0.6238 MB / 1.403 GB, free: 10.56 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.175, allocations: 163.9 kB / 1.404 GB, free: 10.42 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.175, allocations: 115.9 kB / 1.404 GB, free: 10.34 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.175, allocations: 330.6 kB / 1.404 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/1.176, allocations: 237.8 kB / 1.404 GB, free: 9.902 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/1.176, allocations: 345.3 kB / 1.404 GB, free: 9.664 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/1.177, allocations: 0.5457 MB / 1.405 GB, free: 9.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.177, allocations: 0 / 1.405 GB, free: 9.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001646/1.179, allocations: 0.9128 MB / 1.406 GB, free: 8.844 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.179, allocations: 7.188 kB / 1.406 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.179, allocations: 6.812 kB / 1.406 GB, free: 8.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/1.179, allocations: 195.5 kB / 1.406 GB, free: 8.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.18, allocations: 99.78 kB / 1.406 GB, free: 8.734 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/1.183, allocations: 3.049 MB / 1.409 GB, free: 6.254 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/1.184, allocations: 79.89 kB / 1.409 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/1.184, allocations: 18.97 kB / 1.409 GB, free: 6.203 MB / 1.092 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.0006902/1.184, allocations: 446.2 kB / 1.41 GB, free: 5.941 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.185, allocations: 136.8 kB / 1.41 GB, free: 5.867 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/1.185, allocations: 166.8 kB / 1.41 GB, free: 5.77 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.185, allocations: 5.25 kB / 1.41 GB, free: 5.77 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.185, allocations: 8.25 kB / 1.41 GB, free: 5.766 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.185, allocations: 0 / 1.41 GB, free: 5.766 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/1.188, allocations: 1.745 MB / 1.412 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.188, allocations: 0 / 1.412 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/1.188, allocations: 53.97 kB / 1.412 GB, free: 4.602 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/1.188, allocations: 197.2 kB / 1.412 GB, free: 4.504 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/1.188, allocations: 17.45 kB / 1.412 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/1.193, allocations: 4.603 MB / 1.416 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.193, allocations: 4.031 kB / 1.416 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/1.195, allocations: 1.159 MB / 1.418 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/1.195, allocations: 247.3 kB / 1.418 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.195, allocations: 12 kB / 1.418 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/1.196, allocations: 31.95 kB / 1.418 GB, free: 14.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.196, allocations: 60.34 kB / 1.418 GB, free: 14.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.196, allocations: 16 kB / 1.418 GB, free: 14.29 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001815/1.198, allocations: 1.552 MB / 1.419 GB, free: 12.74 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.198, allocations: 0 / 1.419 GB, free: 12.74 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00088/1.198, allocations: 215.6 kB / 1.42 GB, free: 12.53 MB / 1.107 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.001144/1.2, allocations: 499.3 kB / 1.42 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.201, allocations: 0.7607 MB / 1.421 GB, free: 11.46 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.201, allocations: 0 / 1.421 GB, free: 11.46 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008976/1.202, allocations: 0.586 MB / 1.421 GB, free: 10.84 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.203, allocations: 230.7 kB / 1.422 GB, free: 10.62 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/1.207, allocations: 2.765 MB / 1.424 GB, free: 7.82 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/1.208, allocations: 1.254 MB / 1.426 GB, free: 6.539 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003024/1.209, allocations: 105.1 kB / 1.426 GB, free: 6.438 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.209, allocations: 51.42 kB / 1.426 GB, free: 6.387 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.209, allocations: 3.938 kB / 1.426 GB, free: 6.383 MB / 1.107 GB Notification: Performance of Templates: time 0.02334/1.232, allocations: 11.6 MB / 1.437 GB, free: 10.92 MB / 1.123 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