Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001256/0.001256, allocations: 108 kB / 15.61 MB, free: 152 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.00125/0.00125, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.166/2.166, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5068, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1484/0.6552, allocations: 156.7 MB / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.6765, allocations: 21.74 MB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.6777, allocations: 55.69 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6791, allocations: 1.161 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.6802, allocations: 0.8484 MB / 1.126 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.6811, allocations: 453 kB / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.6821, allocations: 1.247 MB / 1.128 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006796/0.6828, allocations: 0.6853 MB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.6833, allocations: 0.5413 MB / 1.129 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.6842, allocations: 0.9177 MB / 1.13 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.6843, allocations: 68 kB / 1.13 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.6845, allocations: 116 kB / 1.13 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.6848, allocations: 316.7 kB / 1.13 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.6851, allocations: 492.8 kB / 1.131 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008912/0.686, allocations: 1.183 MB / 1.132 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.686, allocations: 0 / 1.132 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.022e-06/0.686, allocations: 0 / 1.132 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6861, allocations: 0 / 1.132 GB, free: 6.605 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.002013/0.6881, allocations: 1.482 MB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6881, allocations: 12.03 kB / 1.133 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.53e-05/0.6882, allocations: 78.72 kB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.6884, allocations: 139.2 kB / 1.134 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.6891, allocations: 0.6548 MB / 1.134 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6892, allocations: 70.69 kB / 1.134 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.6893, allocations: 51.91 kB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.6901, allocations: 0.5223 MB / 1.135 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6902, allocations: 0 / 1.135 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.6902, allocations: 16 kB / 1.135 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6902, allocations: 12 kB / 1.135 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.691, allocations: 419.7 kB / 1.135 GB, free: 3.023 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.003223/0.6943, allocations: 2.807 MB / 1.138 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.6953, allocations: 456.7 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.6958, allocations: 291.3 kB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.6958, allocations: 4.656 kB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.6963, allocations: 297.8 kB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.993e-06/0.6964, allocations: 4 kB / 1.139 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002748/0.6991, allocations: 1.238 MB / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.6992, allocations: 71.38 kB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.7008, allocations: 1.752 MB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.7008, allocations: 37.7 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.7012, allocations: 0.5218 MB / 1.143 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.7013, allocations: 145.9 kB / 1.143 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.7014, allocations: 94.25 kB / 1.143 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7015, allocations: 330.4 kB / 1.143 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.702, allocations: 221 kB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.7025, allocations: 324.8 kB / 1.144 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.7034, allocations: 0.5174 MB / 1.144 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7034, allocations: 7.875 kB / 1.144 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001495/0.7049, allocations: 0.8391 MB / 1.145 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7049, allocations: 4 kB / 1.145 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.705, allocations: 4 kB / 1.145 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.7054, allocations: 190.2 kB / 1.145 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.7058, allocations: 95.81 kB / 1.145 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.7089, allocations: 3.004 MB / 1.148 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.7093, allocations: 75.42 kB / 1.148 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.7093, allocations: 20 kB / 1.148 GB, free: 5.141 MB / 0.9044 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.0003886/0.7097, allocations: 387.4 kB / 1.149 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.7098, allocations: 114.5 kB / 1.149 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.71, allocations: 143.7 kB / 1.149 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.7101, allocations: 7.984 kB / 1.149 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7101, allocations: 4 kB / 1.149 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.7101, allocations: 0 / 1.149 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.7123, allocations: 1.558 MB / 1.15 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7123, allocations: 0 / 1.15 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.7125, allocations: 51.91 kB / 1.15 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.7129, allocations: 195.6 kB / 1.151 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.713, allocations: 11.98 kB / 1.151 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.7169, allocations: 4.56 MB / 1.155 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.717, allocations: 4.062 kB / 1.155 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.7186, allocations: 1.061 MB / 1.156 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.7188, allocations: 211.6 kB / 1.156 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.7189, allocations: 12 kB / 1.156 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.7192, allocations: 23.97 kB / 1.156 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7194, allocations: 55.92 kB / 1.156 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.7194, allocations: 19.98 kB / 1.156 GB, free: 12.36 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001179/0.7206, allocations: 1.277 MB / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7206, allocations: 3.938 kB / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006233/0.7212, allocations: 199.7 kB / 1.158 GB, free: 10.88 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,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.002828/0.7241, allocations: 1.982 MB / 1.16 GB, free: 9.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.7255, allocations: 0.7658 MB / 1.161 GB, free: 8.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7255, allocations: 0 / 1.161 GB, free: 8.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.7263, allocations: 0.54 MB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.7272, allocations: 215.2 kB / 1.161 GB, free: 7.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.738, allocations: 9.138 MB / 1.17 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.7387, allocations: 1.153 MB / 1.171 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.7389, allocations: 88.78 kB / 1.171 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.7393, allocations: 407.3 kB / 1.172 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.7393, allocations: 0 / 1.172 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.7826, allocations: 20.86 MB / 1.192 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.395, allocations: 14.72 kB / 1.192 GB, free: 7.703 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)