Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001701/0.001701, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 59.47 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2512, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6183/0.8696, allocations: 156.7 MB / 1.104 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.892, allocations: 21.75 MB / 1.125 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.8945, allocations: 53.53 kB / 1.125 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.8965, allocations: 1.161 MB / 1.127 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.8983, allocations: 0.8594 MB / 1.127 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.8998, allocations: 439.3 kB / 1.128 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.9016, allocations: 1.255 MB / 1.129 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.9028, allocations: 0.6843 MB / 1.13 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.904, allocations: 0.5499 MB / 1.13 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.9053, allocations: 0.9203 MB / 1.131 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.9054, allocations: 65.84 kB / 1.131 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.9057, allocations: 107 kB / 1.131 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.906, allocations: 320.8 kB / 1.132 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.9064, allocations: 492.4 kB / 1.132 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.9075, allocations: 1.199 MB / 1.133 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9075, allocations: 2.281 kB / 1.133 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9075, allocations: 0 / 1.133 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.9075, allocations: 0 / 1.133 GB, free: 6.742 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.002315/0.9098, allocations: 1.479 MB / 1.135 GB, free: 21.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.9099, allocations: 9.625 kB / 1.135 GB, free: 21.87 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.9101, allocations: 145.2 kB / 1.135 GB, free: 21.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.911, allocations: 0.6567 MB / 1.136 GB, free: 21.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.9111, allocations: 72.12 kB / 1.136 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.9112, allocations: 51.28 kB / 1.136 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.9121, allocations: 0.5205 MB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.9121, allocations: 0 / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.9122, allocations: 21.23 kB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.9122, allocations: 9.75 kB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.913, allocations: 415.6 kB / 1.137 GB, free: 21.3 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.003464/0.9165, allocations: 2.717 MB / 1.139 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.9174, allocations: 448.2 kB / 1.14 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.918, allocations: 317.1 kB / 1.14 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.918, allocations: 6.047 kB / 1.14 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.9186, allocations: 284.2 kB / 1.14 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.9186, allocations: 0 / 1.14 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002675/0.9213, allocations: 1.143 MB / 1.141 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.9213, allocations: 58.28 kB / 1.141 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.9236, allocations: 1.761 MB / 1.143 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.9237, allocations: 38.23 kB / 1.143 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.9241, allocations: 0.532 MB / 1.144 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.9242, allocations: 138.2 kB / 1.144 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.9244, allocations: 100.8 kB / 1.144 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9245, allocations: 332.5 kB / 1.144 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.925, allocations: 209.2 kB / 1.144 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.9255, allocations: 338.6 kB / 1.145 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.9263, allocations: 0.5156 MB / 1.145 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9263, allocations: 3.969 kB / 1.145 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001619/0.928, allocations: 0.8071 MB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.928, allocations: 12.41 kB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.928, allocations: 3.719 kB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.9285, allocations: 138.8 kB / 1.146 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.9288, allocations: 102.9 kB / 1.146 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.9316, allocations: 2.603 MB / 1.149 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.9322, allocations: 75.45 kB / 1.149 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.9322, allocations: 23.72 kB / 1.149 GB, free: 15.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000565/0.9328, allocations: 392.9 kB / 1.149 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.933, allocations: 115.8 kB / 1.149 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.9332, allocations: 149.8 kB / 1.15 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9332, allocations: 5.5 kB / 1.15 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.9332, allocations: 3.219 kB / 1.15 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9333, allocations: 6.844 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.9356, allocations: 1.487 MB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9357, allocations: 0 / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.9359, allocations: 48.47 kB / 1.151 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/0.9363, allocations: 161.4 kB / 1.151 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.9363, allocations: 11.19 kB / 1.151 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.9398, allocations: 4.031 MB / 1.155 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9399, allocations: 0.8125 kB / 1.155 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.9415, allocations: 0.9867 MB / 1.156 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.9419, allocations: 207.2 kB / 1.156 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.942, allocations: 14.81 kB / 1.156 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.9423, allocations: 35.91 kB / 1.156 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9425, allocations: 56.02 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.9425, allocations: 14.06 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001461/0.944, allocations: 1.294 MB / 1.158 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.944, allocations: 0.7812 kB / 1.158 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000776/0.9448, allocations: 196.9 kB / 1.158 GB, free: 9.637 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,12,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.001072/0.9459, allocations: 487 kB / 1.158 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.9472, allocations: 0.6664 MB / 1.159 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9472, allocations: 1.281 kB / 1.159 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.948, allocations: 0.5255 MB / 1.16 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.949, allocations: 201.6 kB / 1.16 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.9524, allocations: 2.355 MB / 1.162 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.9532, allocations: 1.147 MB / 1.163 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.9535, allocations: 102.1 kB / 1.163 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.9537, allocations: 47.02 kB / 1.163 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.9537, allocations: 0 / 1.163 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of Templates: time 0.0176/0.9713, allocations: 10.02 MB / 1.173 GB, free: 5.656 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches