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.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.149/2.149, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5504, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1466/0.697, allocations: 156.7 MB / 1.103 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.7201, allocations: 21.75 MB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.7219, allocations: 55.69 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.7236, allocations: 1.161 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.7251, allocations: 0.8484 MB / 1.126 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.7262, allocations: 444.9 kB / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.7274, allocations: 1.247 MB / 1.128 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.7281, allocations: 0.6814 MB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.7287, allocations: 0.5529 MB / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008921/0.7296, allocations: 0.9138 MB / 1.13 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.7297, allocations: 68 kB / 1.13 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.7299, allocations: 116 kB / 1.13 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.7302, allocations: 320.8 kB / 1.13 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.7306, allocations: 492.8 kB / 1.131 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.7316, allocations: 1.183 MB / 1.132 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7316, allocations: 0 / 1.132 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7316, allocations: 0 / 1.132 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.7317, allocations: 0 / 1.132 GB, free: 6.598 MB / 0.8887 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.002112/0.7338, allocations: 1.475 MB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7338, allocations: 8.031 kB / 1.133 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.07e-05/0.7339, allocations: 86.7 kB / 1.133 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.7341, allocations: 135.2 kB / 1.134 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.7348, allocations: 0.6587 MB / 1.134 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.735, allocations: 78.69 kB / 1.134 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.735, allocations: 47.91 kB / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.7359, allocations: 0.5223 MB / 1.135 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.7359, allocations: 0 / 1.135 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.736, allocations: 20 kB / 1.135 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.736, allocations: 8 kB / 1.135 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.7368, allocations: 423.7 kB / 1.135 GB, free: 3.012 MB / 0.8887 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.003213/0.74, allocations: 2.731 MB / 1.138 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.741, allocations: 452.3 kB / 1.138 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.7416, allocations: 293.3 kB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.7416, allocations: 8.656 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.7422, allocations: 295.3 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/0.7422, allocations: 0 / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002504/0.7447, allocations: 1.14 MB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7447, allocations: 59.39 kB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7464, allocations: 1.764 MB / 1.142 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.7465, allocations: 37.7 kB / 1.142 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.7469, allocations: 0.5288 MB / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.747, allocations: 150 kB / 1.143 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.7472, allocations: 94.25 kB / 1.143 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7473, allocations: 326 kB / 1.143 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.7477, allocations: 220.9 kB / 1.143 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.7483, allocations: 335.2 kB / 1.143 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.7492, allocations: 0.5225 MB / 1.144 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7492, allocations: 4 kB / 1.144 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001455/0.7506, allocations: 0.8019 MB / 1.145 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7507, allocations: 8 kB / 1.145 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7507, allocations: 4 kB / 1.145 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.7511, allocations: 139.3 kB / 1.145 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.7515, allocations: 107.8 kB / 1.145 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.7542, allocations: 2.601 MB / 1.148 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.7546, allocations: 71.41 kB / 1.148 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.7547, allocations: 31.92 kB / 1.148 GB, free: 5.75 MB / 0.9044 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.0004294/0.7551, allocations: 379.3 kB / 1.148 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7552, allocations: 126.5 kB / 1.148 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.7554, allocations: 143.7 kB / 1.148 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7555, allocations: 4 kB / 1.148 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7555, allocations: 0 / 1.148 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.7555, allocations: 11.97 kB / 1.148 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.7576, allocations: 1.482 MB / 1.15 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7576, allocations: 0 / 1.15 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.7578, allocations: 51.91 kB / 1.15 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.7582, allocations: 161.6 kB / 1.15 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.7582, allocations: 15.98 kB / 1.15 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.7617, allocations: 4.015 MB / 1.154 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7617, allocations: 11.95 kB / 1.154 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.7632, allocations: 0.9906 MB / 1.155 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.7635, allocations: 211.5 kB / 1.155 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.7636, allocations: 12 kB / 1.155 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.7639, allocations: 27.97 kB / 1.155 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.764, allocations: 55.86 kB / 1.155 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.764, allocations: 15.98 kB / 1.155 GB, free: 13.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001203/0.7653, allocations: 1.285 MB / 1.156 GB, free: 12.38 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7653, allocations: 4 kB / 1.156 GB, free: 12.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000626/0.7659, allocations: 199.8 kB / 1.157 GB, free: 12.18 MB / 0.92 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.002741/0.7686, allocations: 1.914 MB / 1.158 GB, free: 10.42 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.77, allocations: 0.6919 MB / 1.159 GB, free: 9.719 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.77, allocations: 0 / 1.159 GB, free: 9.719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.7707, allocations: 0.5212 MB / 1.16 GB, free: 9.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.7717, allocations: 204.6 kB / 1.16 GB, free: 8.977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.7824, allocations: 9.081 MB / 1.169 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.7832, allocations: 1.149 MB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002692/0.7834, allocations: 100.7 kB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.7838, allocations: 407.3 kB / 1.17 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.7839, allocations: 3.938 kB / 1.17 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.8291, allocations: 20.47 MB / 1.19 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.954/9.783, allocations: 17.69 kB / 1.19 GB, free: 9.57 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)