Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001617/0.001617, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.8687 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5775, allocations: 151.6 MB / 1.017 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.154/0.7315, allocations: 154.5 MB / 1.168 GB, free: 7.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0253/0.7569, allocations: 21.61 MB / 1.189 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.7591, allocations: 55.69 kB / 1.189 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.7609, allocations: 1.119 MB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.7623, allocations: 0.8138 MB / 1.191 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.7634, allocations: 383.7 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.7646, allocations: 1.345 MB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.7652, allocations: 0.6104 MB / 1.193 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.7658, allocations: 0.4905 MB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008696/0.7667, allocations: 0.9059 MB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.258e-05/0.7668, allocations: 36 kB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.767, allocations: 79.97 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.7672, allocations: 312.7 kB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.7676, allocations: 464.8 kB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.7685, allocations: 1.148 MB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7685, allocations: 8 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7685, allocations: 3.938 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.7685, allocations: 0 / 1.196 GB, free: 10.46 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.002095/0.7706, allocations: 1.475 MB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7707, allocations: 8.031 kB / 1.198 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.7708, allocations: 86.7 kB / 1.198 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.7709, allocations: 131.3 kB / 1.198 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.7717, allocations: 0.6587 MB / 1.199 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.7718, allocations: 74.67 kB / 1.199 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.7719, allocations: 44 kB / 1.199 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.7728, allocations: 0.5223 MB / 1.199 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.7728, allocations: 3.984 kB / 1.199 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.7729, allocations: 24 kB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.7729, allocations: 12 kB / 1.199 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.7737, allocations: 415.6 kB / 1.2 GB, free: 6.891 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.003251/0.777, allocations: 2.799 MB / 1.202 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.778, allocations: 459.3 kB / 1.203 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.7785, allocations: 290.9 kB / 1.203 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.7785, allocations: 4.656 kB / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005299/0.7791, allocations: 302.1 kB / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.745e-06/0.7791, allocations: 0 / 1.203 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002808/0.7819, allocations: 1.245 MB / 1.205 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.782, allocations: 55.41 kB / 1.205 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.7836, allocations: 1.752 MB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.7837, allocations: 37.7 kB / 1.206 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.7841, allocations: 0.514 MB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7842, allocations: 153.9 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.7843, allocations: 94.25 kB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7844, allocations: 326 kB / 1.207 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.7849, allocations: 221 kB / 1.208 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.7854, allocations: 328.8 kB / 1.208 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.7863, allocations: 0.5101 MB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.7863, allocations: 3.938 kB / 1.208 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001518/0.7879, allocations: 0.8416 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7879, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7879, allocations: 0 / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005056/0.7884, allocations: 188.8 kB / 1.209 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.7888, allocations: 103.8 kB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.7919, allocations: 2.749 MB / 1.212 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.7924, allocations: 79.55 kB / 1.212 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.7925, allocations: 23.94 kB / 1.212 GB, free: 9.273 MB / 0.9669 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.0004743/0.7929, allocations: 379.9 kB / 1.213 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7931, allocations: 122.4 kB / 1.213 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.7933, allocations: 139.7 kB / 1.213 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7933, allocations: 4 kB / 1.213 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7933, allocations: 4 kB / 1.213 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7933, allocations: 3.984 kB / 1.213 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.7956, allocations: 1.563 MB / 1.214 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7956, allocations: 0 / 1.214 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.7959, allocations: 55.89 kB / 1.215 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.7963, allocations: 189.6 kB / 1.215 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.7964, allocations: 15.98 kB / 1.215 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.8002, allocations: 4.12 MB / 1.219 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8002, allocations: 0 / 1.219 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.802, allocations: 1.064 MB / 1.22 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8023, allocations: 215.5 kB / 1.22 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.8024, allocations: 15.98 kB / 1.22 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.8027, allocations: 31.97 kB / 1.22 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.8029, allocations: 55.86 kB / 1.22 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.8029, allocations: 19.98 kB / 1.22 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001263/0.8042, allocations: 1.277 MB / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8042, allocations: 0 / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007886/0.805, allocations: 211.7 kB / 1.222 GB, free: 15.42 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,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.003007/0.808, allocations: 1.986 MB / 1.224 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.8095, allocations: 0.7243 MB / 1.224 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8095, allocations: 4.062 kB / 1.224 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.8103, allocations: 0.548 MB / 1.225 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.8113, allocations: 192.3 kB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.8234, allocations: 9.404 MB / 1.234 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.8241, allocations: 1.153 MB / 1.235 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003059/0.8244, allocations: 92.78 kB / 1.235 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.8249, allocations: 407.3 kB / 1.236 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of SimCode: time 1.813e-06/0.8249, allocations: 0 / 1.236 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5786/1.404, allocations: 20.12 MB / 1.255 GB, free: 81.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/1.404, allocations: 279.7 kB / 1.256 GB, free: 81.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.536, allocations: 1.125 kB / 1.256 GB, free: 81.45 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)