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.004678/0.004678, allocations: 109.7 kB / 15.74 MB, free: 5.984 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.001116/0.001116, allocations: 193.3 kB / 16.67 MB, free: 5.906 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.8588/1.145, allocations: 157 MB / 1.361 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02705/1.172, allocations: 21.88 MB / 1.382 GB, free: 8.547 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/1.175, allocations: 56 kB / 1.382 GB, free: 8.527 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.177, allocations: 1.343 MB / 1.384 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/1.179, allocations: 0.9766 MB / 1.385 GB, free: 7.234 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.18, allocations: 0.4975 MB / 1.385 GB, free: 6.844 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001737/1.182, allocations: 1.444 MB / 1.387 GB, free: 6.035 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/1.183, allocations: 0.7888 MB / 1.387 GB, free: 5.543 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/1.183, allocations: 0.6482 MB / 1.388 GB, free: 5.199 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1.185, allocations: 1.102 MB / 1.389 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/1.185, allocations: 71.19 kB / 1.389 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/1.185, allocations: 124.8 kB / 1.389 GB, free: 4.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002971/1.185, allocations: 370.9 kB / 1.39 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/1.186, allocations: 0.5585 MB / 1.39 GB, free: 4.031 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/1.187, allocations: 1.361 MB / 1.392 GB, free: 3.094 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.187, allocations: 0 / 1.392 GB, free: 3.094 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/1.187, allocations: 0 / 1.392 GB, free: 3.094 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.72e-05/1.187, allocations: 1.375 kB / 1.392 GB, free: 3.094 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.002421/1.19, allocations: 1.685 MB / 1.393 GB, free: 1.781 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.19, allocations: 10.38 kB / 1.393 GB, free: 1.781 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/1.19, allocations: 162.8 kB / 1.393 GB, free: 1.695 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/1.191, allocations: 0.7513 MB / 1.394 GB, free: 1.078 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.191, allocations: 75.56 kB / 1.394 GB, free: 1.027 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/1.191, allocations: 50.34 kB / 1.394 GB, free: 1.012 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/1.192, allocations: 0.5724 MB / 1.395 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.192, allocations: 5.344 kB / 1.395 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/1.192, allocations: 20.62 kB / 1.395 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.192, allocations: 15.89 kB / 1.395 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/1.193, allocations: 448 kB / 1.395 GB, free: 428 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.003825/1.197, allocations: 3 MB / 1.398 GB, free: 13.81 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.198, allocations: 0.4954 MB / 1.399 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/1.199, allocations: 313 kB / 1.399 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/1.199, allocations: 10.25 kB / 1.399 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006242/1.199, allocations: 330.9 kB / 1.399 GB, free: 13.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=52): time 2.565e-06/1.199, allocations: 0 / 1.399 GB, free: 13.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=52): time 0.003112/1.202, allocations: 1.355 MB / 1.401 GB, free: 12.39 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.202, allocations: 62.56 kB / 1.401 GB, free: 12.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/1.204, allocations: 2.111 MB / 1.403 GB, free: 11.38 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/1.205, allocations: 38.36 kB / 1.403 GB, free: 11.34 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/1.205, allocations: 0.6229 MB / 1.403 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.205, allocations: 164.4 kB / 1.404 GB, free: 10.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.205, allocations: 107.8 kB / 1.404 GB, free: 10.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.205, allocations: 338.6 kB / 1.404 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/1.206, allocations: 234.4 kB / 1.404 GB, free: 10.15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/1.206, allocations: 345.1 kB / 1.404 GB, free: 9.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/1.207, allocations: 0.544 MB / 1.405 GB, free: 9.57 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.207, allocations: 0 / 1.405 GB, free: 9.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001595/1.209, allocations: 0.9163 MB / 1.406 GB, free: 9.09 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.209, allocations: 11.67 kB / 1.406 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.209, allocations: 2.75 kB / 1.406 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/1.21, allocations: 195.5 kB / 1.406 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/1.21, allocations: 107.5 kB / 1.406 GB, free: 8.973 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/1.214, allocations: 3.041 MB / 1.409 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/1.214, allocations: 79.78 kB / 1.409 GB, free: 6.449 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/1.214, allocations: 21.91 kB / 1.409 GB, free: 6.445 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.0006033/1.215, allocations: 443.2 kB / 1.41 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.215, allocations: 139.1 kB / 1.41 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/1.215, allocations: 171.2 kB / 1.41 GB, free: 6.008 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.215, allocations: 8.969 kB / 1.41 GB, free: 6.004 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.215, allocations: 9.094 kB / 1.41 GB, free: 6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.215, allocations: 3.984 kB / 1.41 GB, free: 5.996 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/1.218, allocations: 1.734 MB / 1.412 GB, free: 4.859 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.218, allocations: 4 kB / 1.412 GB, free: 4.855 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/1.218, allocations: 58.95 kB / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/1.219, allocations: 191.8 kB / 1.412 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/1.219, allocations: 15.2 kB / 1.412 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/1.223, allocations: 4.605 MB / 1.416 GB, free: 36 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.223, allocations: 0 / 1.416 GB, free: 36 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/1.225, allocations: 1.163 MB / 1.418 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/1.226, allocations: 235.2 kB / 1.418 GB, free: 14.6 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.226, allocations: 15.98 kB / 1.418 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/1.226, allocations: 31.97 kB / 1.418 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.226, allocations: 64.23 kB / 1.418 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.226, allocations: 27.98 kB / 1.418 GB, free: 14.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00168/1.228, allocations: 1.545 MB / 1.419 GB, free: 12.92 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.228, allocations: 0 / 1.419 GB, free: 12.92 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008267/1.229, allocations: 223.6 kB / 1.42 GB, free: 12.7 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.001088/1.23, allocations: 495.4 kB / 1.42 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001548/1.231, allocations: 0.7569 MB / 1.421 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.231, allocations: 0 / 1.421 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/1.232, allocations: 0.5744 MB / 1.421 GB, free: 11.04 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/1.233, allocations: 240.7 kB / 1.422 GB, free: 10.81 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/1.237, allocations: 2.775 MB / 1.424 GB, free: 7.996 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.238, allocations: 1.25 MB / 1.426 GB, free: 6.719 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002858/1.239, allocations: 101.1 kB / 1.426 GB, free: 6.621 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.239, allocations: 51.42 kB / 1.426 GB, free: 6.57 MB / 1.107 GB Notification: Performance of SimCode: time 5.11e-07/1.239, allocations: 0 / 1.426 GB, free: 6.57 MB / 1.107 GB Notification: Performance of Templates: time 0.02021/1.259, allocations: 11.87 MB / 1.437 GB, free: 10.82 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