Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001201/0.001201, 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.00114/0.00114, allocations: 189.9 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.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 59.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5624, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1418/0.7043, allocations: 154.6 MB / 1.168 GB, free: 7.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.7262, allocations: 21.48 MB / 1.189 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.7278, allocations: 51.69 kB / 1.189 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7294, allocations: 1.134 MB / 1.19 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.7309, allocations: 0.8177 MB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.732, allocations: 390.8 kB / 1.191 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.7334, allocations: 1.247 MB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.7343, allocations: 0.6969 MB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.735, allocations: 0.5529 MB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.7358, allocations: 0.9528 MB / 1.195 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.482e-05/0.7359, allocations: 64 kB / 1.195 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.7362, allocations: 115.9 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.7364, allocations: 332.8 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.7367, allocations: 0.489 MB / 1.196 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.7376, allocations: 1.176 MB / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7377, allocations: 0 / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7377, allocations: 0 / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.7377, allocations: 0 / 1.197 GB, free: 9.949 MB / 0.9512 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.00189/0.7396, allocations: 1.478 MB / 1.198 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7396, allocations: 12.03 kB / 1.198 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.528e-05/0.7397, allocations: 82.7 kB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.7399, allocations: 135.3 kB / 1.198 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.7405, allocations: 0.6548 MB / 1.199 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.7407, allocations: 78.67 kB / 1.199 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.7408, allocations: 44 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.7416, allocations: 0.5145 MB / 1.2 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7416, allocations: 4 kB / 1.2 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.7417, allocations: 20 kB / 1.2 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.7417, allocations: 12 kB / 1.2 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.7424, allocations: 407.7 kB / 1.2 GB, free: 6.387 MB / 0.9512 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.002903/0.7453, allocations: 2.731 MB / 1.203 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.7462, allocations: 451.8 kB / 1.203 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005719/0.7468, allocations: 314.7 kB / 1.203 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.7468, allocations: 4.656 kB / 1.203 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.7473, allocations: 287 kB / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 1.843e-06/0.7473, allocations: 0 / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002412/0.7498, allocations: 1.153 MB / 1.205 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.7498, allocations: 55.41 kB / 1.205 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.7513, allocations: 1.756 MB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.7514, allocations: 37.7 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.7518, allocations: 0.5327 MB / 1.207 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.7519, allocations: 142 kB / 1.207 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.752, allocations: 106.2 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.7521, allocations: 326 kB / 1.208 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.7525, allocations: 213 kB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.753, allocations: 339.1 kB / 1.208 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.7538, allocations: 0.5231 MB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7539, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001355/0.7552, allocations: 0.8106 MB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7552, allocations: 5.875 kB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7553, allocations: 7.984 kB / 1.21 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.7556, allocations: 140.8 kB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.756, allocations: 99.86 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.7585, allocations: 2.605 MB / 1.212 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.7589, allocations: 79.55 kB / 1.212 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.7589, allocations: 20 kB / 1.212 GB, free: 9.105 MB / 0.9669 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.0003777/0.7593, allocations: 387.3 kB / 1.213 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7594, allocations: 122.4 kB / 1.213 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.7596, allocations: 135.7 kB / 1.213 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7596, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7596, allocations: 8 kB / 1.213 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.7596, allocations: 3.984 kB / 1.213 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.7616, allocations: 1.503 MB / 1.215 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.7616, allocations: 0 / 1.215 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.7618, allocations: 39.97 kB / 1.215 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.7622, allocations: 166.8 kB / 1.215 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.7622, allocations: 15.94 kB / 1.215 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.7654, allocations: 4.038 MB / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.7654, allocations: 0 / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.7669, allocations: 0.9832 MB / 1.22 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.7672, allocations: 219.5 kB / 1.22 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/0.7673, allocations: 12 kB / 1.22 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.7676, allocations: 35.95 kB / 1.22 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7677, allocations: 51.88 kB / 1.22 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.7677, allocations: 23.92 kB / 1.22 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00115/0.7689, allocations: 1.285 MB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7689, allocations: 0 / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005997/0.7695, allocations: 203.7 kB / 1.221 GB, free: 15.5 MB / 0.9825 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.002664/0.7722, allocations: 1.91 MB / 1.223 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.7735, allocations: 0.6979 MB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7735, allocations: 0 / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.7742, allocations: 0.5248 MB / 1.224 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.7751, allocations: 200.4 kB / 1.225 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7859, allocations: 9.328 MB / 1.234 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.7866, allocations: 1.149 MB / 1.235 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.7868, allocations: 100.8 kB / 1.235 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.7872, allocations: 407.3 kB / 1.235 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.7872, allocations: 0 / 1.235 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.677/2.464, allocations: 20.14 MB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/2.465, allocations: 283.3 kB / 1.255 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/4.652, allocations: 4.375 kB / 1.255 GB, free: 231.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)