Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.001334, allocations: 103.2 kB / 16.27 MB, free: 5.965 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.001348/0.001348, allocations: 188.6 kB / 17.2 MB, free: 5.59 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 67.22 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3314, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.8057/1.137, allocations: 156.7 MB / 1.103 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0287/1.166, allocations: 21.76 MB / 1.125 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/1.169, allocations: 50.12 kB / 1.125 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/1.171, allocations: 1.163 MB / 1.126 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/1.173, allocations: 0.8548 MB / 1.127 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/1.174, allocations: 436.5 kB / 1.127 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00158/1.176, allocations: 1.256 MB / 1.128 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/1.177, allocations: 0.6809 MB / 1.129 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/1.178, allocations: 0.5489 MB / 1.129 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1.179, allocations: 0.9172 MB / 1.13 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/1.179, allocations: 64.88 kB / 1.13 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/1.179, allocations: 111.2 kB / 1.13 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003057/1.18, allocations: 324.8 kB / 1.131 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/1.18, allocations: 492 kB / 1.131 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/1.181, allocations: 1.182 MB / 1.132 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.181, allocations: 0 / 1.132 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.484e-06/1.181, allocations: 0.9375 kB / 1.132 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.181, allocations: 4.625 kB / 1.132 GB, free: 6.457 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002518/1.184, allocations: 1.479 MB / 1.134 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.184, allocations: 8.812 kB / 1.134 GB, free: 21.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/1.184, allocations: 135.5 kB / 1.134 GB, free: 21.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/1.185, allocations: 0.6527 MB / 1.135 GB, free: 21.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/1.185, allocations: 72.55 kB / 1.135 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.766e-05/1.185, allocations: 48.22 kB / 1.135 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.186, allocations: 0.5226 MB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.187, allocations: 2.438 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/1.187, allocations: 17.72 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.187, allocations: 10.75 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/1.188, allocations: 414.8 kB / 1.136 GB, free: 21.02 MB / 0.8731 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.003784/1.191, allocations: 2.806 MB / 1.138 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.192, allocations: 462.4 kB / 1.139 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/1.193, allocations: 287 kB / 1.139 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/1.193, allocations: 8.734 kB / 1.139 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005649/1.194, allocations: 300.6 kB / 1.139 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/1.194, allocations: 0 / 1.139 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.003014/1.197, allocations: 1.246 MB / 1.141 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/1.197, allocations: 60.45 kB / 1.141 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/1.199, allocations: 1.753 MB / 1.142 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/1.199, allocations: 37.83 kB / 1.142 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/1.2, allocations: 0.5196 MB / 1.143 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.2, allocations: 146.1 kB / 1.143 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.2, allocations: 96.61 kB / 1.143 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.2, allocations: 332.1 kB / 1.144 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/1.201, allocations: 219.2 kB / 1.144 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/1.201, allocations: 322.3 kB / 1.144 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/1.202, allocations: 0.5168 MB / 1.145 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.202, allocations: 5.062 kB / 1.145 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001715/1.204, allocations: 0.8464 MB / 1.145 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.204, allocations: 6.562 kB / 1.145 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.204, allocations: 3.75 kB / 1.145 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/1.204, allocations: 186 kB / 1.146 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/1.205, allocations: 90.3 kB / 1.146 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.208, allocations: 3.011 MB / 1.149 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/1.209, allocations: 73.91 kB / 1.149 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/1.209, allocations: 19.44 kB / 1.149 GB, free: 15.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000713/1.21, allocations: 384.5 kB / 1.149 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.21, allocations: 118.5 kB / 1.149 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/1.21, allocations: 142.9 kB / 1.149 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.21, allocations: 4.469 kB / 1.149 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/1.21, allocations: 2.969 kB / 1.149 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.21, allocations: 5.297 kB / 1.149 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/1.213, allocations: 1.558 MB / 1.151 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/1.213, allocations: 0.8125 kB / 1.151 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/1.213, allocations: 53.73 kB / 1.151 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/1.213, allocations: 192.9 kB / 1.151 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/1.213, allocations: 11.98 kB / 1.151 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/1.218, allocations: 4.568 MB / 1.156 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.218, allocations: 0.875 kB / 1.156 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.22, allocations: 1.057 MB / 1.157 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/1.22, allocations: 213.9 kB / 1.157 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.22, allocations: 12.88 kB / 1.157 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.221, allocations: 28.41 kB / 1.157 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.221, allocations: 55.59 kB / 1.157 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/1.221, allocations: 20.56 kB / 1.157 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001954/1.223, allocations: 1.281 MB / 1.158 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.223, allocations: 1.312 kB / 1.158 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001138/1.224, allocations: 200.2 kB / 1.158 GB, free: 9.008 MB / 0.8731 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001295/1.225, allocations: 487.6 kB / 1.159 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001811/1.227, allocations: 0.7537 MB / 1.16 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.227, allocations: 0 / 1.16 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009661/1.228, allocations: 0.5491 MB / 1.16 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.229, allocations: 207.6 kB / 1.16 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/1.234, allocations: 2.446 MB / 1.163 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/1.235, allocations: 1.142 MB / 1.164 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/1.235, allocations: 51.22 kB / 1.164 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.235, allocations: 0 / 1.164 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of Templates: time 0.03005/1.265, allocations: 17.83 MB / 1.181 GB, free: 8 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches