Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 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.001661/0.001661, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.127/2.127, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5305, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1521/0.6826, allocations: 157 MB / 1.103 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.7053, allocations: 21.86 MB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.7068, allocations: 55.69 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7084, allocations: 1.34 MB / 1.126 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.7097, allocations: 0.9808 MB / 1.127 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7107, allocations: 0.5003 MB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.7119, allocations: 1.43 MB / 1.129 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007381/0.7126, allocations: 0.7872 MB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.7132, allocations: 0.6425 MB / 1.13 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009659/0.7142, allocations: 1.102 MB / 1.131 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.7143, allocations: 72 kB / 1.131 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.7145, allocations: 123.9 kB / 1.131 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.7148, allocations: 360.6 kB / 1.132 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.7152, allocations: 0.5704 MB / 1.132 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7162, allocations: 1.339 MB / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7162, allocations: 0 / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7163, allocations: 0 / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7163, allocations: 4 kB / 1.133 GB, free: 4.969 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002138/0.7184, allocations: 1.679 MB / 1.135 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7185, allocations: 12.03 kB / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.576e-05/0.7186, allocations: 98.64 kB / 1.135 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.7188, allocations: 163 kB / 1.135 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.7196, allocations: 0.7397 MB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.7197, allocations: 78.67 kB / 1.136 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.7198, allocations: 52 kB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.7207, allocations: 0.5692 MB / 1.137 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.7208, allocations: 3.938 kB / 1.137 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.7208, allocations: 20 kB / 1.137 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.7208, allocations: 12 kB / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.7217, allocations: 447.6 kB / 1.137 GB, free: 0.9727 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.003277/0.725, allocations: 3.017 MB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.726, allocations: 0.4959 MB / 1.141 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.7265, allocations: 317.9 kB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.7266, allocations: 8.359 kB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.7272, allocations: 329.1 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.7272, allocations: 4 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.002918/0.7301, allocations: 1.344 MB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7302, allocations: 67.83 kB / 1.143 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.732, allocations: 2.116 MB / 1.145 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.7321, allocations: 41.69 kB / 1.145 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.7325, allocations: 0.6284 MB / 1.145 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.7326, allocations: 161.7 kB / 1.146 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.7328, allocations: 106.3 kB / 1.146 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7329, allocations: 334 kB / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.7334, allocations: 229.2 kB / 1.146 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.7339, allocations: 348.6 kB / 1.147 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.7348, allocations: 0.5571 MB / 1.147 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7348, allocations: 0 / 1.147 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001556/0.7364, allocations: 0.9062 MB / 1.148 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7364, allocations: 4 kB / 1.148 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7364, allocations: 4 kB / 1.148 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/0.7369, allocations: 198.8 kB / 1.148 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.7373, allocations: 111.8 kB / 1.148 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.7405, allocations: 3.045 MB / 1.151 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.7409, allocations: 75.55 kB / 1.151 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.741, allocations: 24 kB / 1.151 GB, free: 1.926 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: 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.0004561/0.7414, allocations: 436.1 kB / 1.152 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.7416, allocations: 134.2 kB / 1.152 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.7418, allocations: 173.9 kB / 1.152 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7418, allocations: 11.94 kB / 1.152 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7418, allocations: 8 kB / 1.152 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.7418, allocations: 3.984 kB / 1.152 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.7443, allocations: 1.734 MB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7443, allocations: 0 / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.7445, allocations: 47.95 kB / 1.154 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.745, allocations: 201.6 kB / 1.154 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.7451, allocations: 23.86 kB / 1.154 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.7491, allocations: 4.604 MB / 1.159 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7491, allocations: 0 / 1.159 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.751, allocations: 1.169 MB / 1.16 GB, free: 9.012 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.7513, allocations: 239.3 kB / 1.16 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.7514, allocations: 15.98 kB / 1.16 GB, free: 8.742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.7517, allocations: 31.97 kB / 1.16 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.7519, allocations: 52.36 kB / 1.16 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.7519, allocations: 19.98 kB / 1.16 GB, free: 8.641 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001476/0.7534, allocations: 1.549 MB / 1.162 GB, free: 7.094 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.7534, allocations: 4 kB / 1.162 GB, free: 7.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007427/0.7542, allocations: 219.6 kB / 1.162 GB, free: 6.875 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: 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.003051/0.7572, allocations: 2.095 MB / 1.164 GB, free: 4.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.7589, allocations: 0.8016 MB / 1.165 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7589, allocations: 0 / 1.165 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.7598, allocations: 0.5859 MB / 1.165 GB, free: 3.512 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7608, allocations: 224.2 kB / 1.165 GB, free: 3.301 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.7742, allocations: 10.59 MB / 1.176 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/0.775, allocations: 1.246 MB / 1.177 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003363/0.7754, allocations: 97.09 kB / 1.177 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.7759, allocations: 479.3 kB / 1.177 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of SimCode: time 9.12e-07/0.7759, allocations: 4 kB / 1.177 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04858/0.8245, allocations: 23.69 MB / 1.201 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.723, allocations: 7.938 kB / 1.201 GB, free: 15.03 MB / 0.9669 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)