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.001354/0.001354, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001303/0.001303, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.156/2.156, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5476, allocations: 140.4 MB / 0.9492 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1445/0.6921, allocations: 154.6 MB / 1.1 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.7132, allocations: 21.49 MB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.7147, allocations: 51.69 kB / 1.121 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.7162, allocations: 1.122 MB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.7176, allocations: 0.8177 MB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.7187, allocations: 388.3 kB / 1.124 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.7199, allocations: 1.259 MB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000803/0.7208, allocations: 0.6891 MB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006908/0.7215, allocations: 0.5568 MB / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009695/0.7224, allocations: 0.9528 MB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.7226, allocations: 71.94 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.7228, allocations: 104 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.7231, allocations: 332.7 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.7235, allocations: 496.8 kB / 1.128 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009833/0.7245, allocations: 1.183 MB / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7245, allocations: 0 / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7245, allocations: 0 / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.7246, allocations: 3.938 kB / 1.129 GB, free: 9.301 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.002142/0.7267, allocations: 1.471 MB / 1.13 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7267, allocations: 8.031 kB / 1.13 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.7269, allocations: 82.7 kB / 1.131 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.727, allocations: 143.2 kB / 1.131 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.7278, allocations: 0.6549 MB / 1.131 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.7279, allocations: 74.69 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.728, allocations: 51.91 kB / 1.131 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/0.7289, allocations: 0.5145 MB / 1.132 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.7289, allocations: 8 kB / 1.132 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.729, allocations: 16 kB / 1.132 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.729, allocations: 8 kB / 1.132 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.7298, allocations: 419.7 kB / 1.132 GB, free: 5.73 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.003085/0.7329, allocations: 2.727 MB / 1.135 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.7337, allocations: 453.8 kB / 1.135 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.7343, allocations: 305.3 kB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.7344, allocations: 8.641 kB / 1.136 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/0.7349, allocations: 279.4 kB / 1.136 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.913e-06/0.7349, allocations: 0 / 1.136 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.00244/0.7373, allocations: 1.148 MB / 1.137 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.7374, allocations: 59.34 kB / 1.137 GB, free: 468 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.7391, allocations: 1.764 MB / 1.139 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.7391, allocations: 37.7 kB / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.7395, allocations: 0.5326 MB / 1.139 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.7396, allocations: 142 kB / 1.14 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.7398, allocations: 98.25 kB / 1.14 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.7399, allocations: 334 kB / 1.14 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.7403, allocations: 205 kB / 1.14 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.7408, allocations: 339.2 kB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.7417, allocations: 0.5307 MB / 1.141 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7417, allocations: 0 / 1.141 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001425/0.7431, allocations: 0.8024 MB / 1.142 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7431, allocations: 8 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7431, allocations: 4 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003802/0.7435, allocations: 136.8 kB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.7439, allocations: 107.8 kB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.7465, allocations: 2.594 MB / 1.145 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.7469, allocations: 87.45 kB / 1.145 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.747, allocations: 23.98 kB / 1.145 GB, free: 8.465 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.0003834/0.7474, allocations: 377.4 kB / 1.145 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7475, allocations: 130.4 kB / 1.145 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.7477, allocations: 139.7 kB / 1.145 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7477, allocations: 4 kB / 1.145 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7477, allocations: 8 kB / 1.145 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7477, allocations: 3.984 kB / 1.145 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.7498, allocations: 1.486 MB / 1.147 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7498, allocations: 0 / 1.147 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.7501, allocations: 51.89 kB / 1.147 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.7504, allocations: 161.6 kB / 1.147 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.7505, allocations: 11.98 kB / 1.147 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/0.7538, allocations: 4.024 MB / 1.151 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7539, allocations: 0 / 1.151 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.7554, allocations: 0.9984 MB / 1.152 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.7557, allocations: 211.6 kB / 1.152 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.7558, allocations: 12 kB / 1.152 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.7561, allocations: 51.8 kB / 1.152 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7562, allocations: 55.86 kB / 1.152 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.7563, allocations: 12 kB / 1.152 GB, free: 372 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001189/0.7575, allocations: 1.289 MB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7575, allocations: 0 / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006475/0.7581, allocations: 199.8 kB / 1.154 GB, free: 14.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,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.002717/0.7608, allocations: 1.897 MB / 1.156 GB, free: 13.13 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.7622, allocations: 0.6989 MB / 1.156 GB, free: 12.42 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7622, allocations: 0 / 1.156 GB, free: 12.42 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.7629, allocations: 0.5287 MB / 1.157 GB, free: 11.87 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.7639, allocations: 199.7 kB / 1.157 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7754, allocations: 9.35 MB / 1.166 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.7762, allocations: 1.149 MB / 1.167 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.7765, allocations: 96.77 kB / 1.167 GB, free: 0.625 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.7769, allocations: 407.3 kB / 1.168 GB, free: 232 kB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.7769, allocations: 0 / 1.168 GB, free: 232 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/0.82, allocations: 20.15 MB / 1.187 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.8203, allocations: 278.7 kB / 1.188 GB, free: 12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.839, allocations: 0.5 kB / 1.188 GB, free: 12 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)