Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.001211/0.001211, 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.001201/0.001201, allocations: 197.3 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5442, allocations: 140.4 MB / 0.949 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1519/0.6962, allocations: 155 MB / 1.1 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.7185, allocations: 21.85 MB / 1.122 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.72, allocations: 51.69 kB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.7223, allocations: 2.101 MB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.724, allocations: 1.371 MB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.7252, allocations: 0.5127 MB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.7268, allocations: 1.902 MB / 1.128 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.7279, allocations: 0.9879 MB / 1.128 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.7286, allocations: 0.7904 MB / 1.129 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.73, allocations: 1.522 MB / 1.131 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.7301, allocations: 52 kB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.7304, allocations: 99.98 kB / 1.131 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.7308, allocations: 0.5159 MB / 1.131 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005576/0.7314, allocations: 0.725 MB / 1.132 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.7326, allocations: 1.779 MB / 1.134 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7326, allocations: 3.938 kB / 1.134 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.12e-07/0.7326, allocations: 0 / 1.134 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.7327, allocations: 0 / 1.134 GB, free: 4.219 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002928/0.7356, allocations: 2.281 MB / 1.136 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7356, allocations: 12.03 kB / 1.136 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.7358, allocations: 106.7 kB / 1.136 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.736, allocations: 230.1 kB / 1.136 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.7371, allocations: 0.999 MB / 1.137 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.7373, allocations: 94.94 kB / 1.137 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.7374, allocations: 67.89 kB / 1.138 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.7386, allocations: 0.7251 MB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.7386, allocations: 4 kB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.7387, allocations: 28 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.7387, allocations: 12 kB / 1.138 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.7398, allocations: 0.5945 MB / 1.139 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.7441, allocations: 3.51 MB / 1.142 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.7456, allocations: 0.7108 MB / 1.143 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.7463, allocations: 410.2 kB / 1.143 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.7464, allocations: 12.56 kB / 1.143 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000795/0.7472, allocations: 430.8 kB / 1.144 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.267e-06/0.7472, allocations: 0 / 1.144 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.003996/0.7512, allocations: 1.808 MB / 1.146 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7513, allocations: 55.97 kB / 1.146 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.7543, allocations: 3.312 MB / 1.149 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.7544, allocations: 41.7 kB / 1.149 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.7551, allocations: 0.8821 MB / 1.15 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.7553, allocations: 220.9 kB / 1.15 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.7555, allocations: 142.5 kB / 1.15 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7556, allocations: 345.9 kB / 1.15 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.7563, allocations: 301.8 kB / 1.151 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.7569, allocations: 435.1 kB / 1.151 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.7581, allocations: 0.7246 MB / 1.152 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7581, allocations: 0 / 1.152 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002136/0.7603, allocations: 1.212 MB / 1.153 GB, free: 15.92 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7603, allocations: 4 kB / 1.153 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7603, allocations: 8.094 kB / 1.153 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/0.761, allocations: 253.5 kB / 1.153 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.7615, allocations: 135.8 kB / 1.153 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.7658, allocations: 4.366 MB / 1.158 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.7664, allocations: 107.3 kB / 1.158 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.7665, allocations: 24 kB / 1.158 GB, free: 10.76 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007049/0.7672, allocations: 0.6028 MB / 1.158 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.7674, allocations: 213.3 kB / 1.159 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.7677, allocations: 252.5 kB / 1.159 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7677, allocations: 8 kB / 1.159 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.7677, allocations: 4 kB / 1.159 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.7677, allocations: 3.984 kB / 1.159 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.7712, allocations: 2.327 MB / 1.161 GB, free: 7.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7712, allocations: 8 kB / 1.161 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.7715, allocations: 71.83 kB / 1.161 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006007/0.7721, allocations: 250.9 kB / 1.161 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.7722, allocations: 19.98 kB / 1.161 GB, free: 6.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/0.7763, allocations: 4.364 MB / 1.166 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7764, allocations: 0 / 1.166 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.7789, allocations: 1.579 MB / 1.167 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.7792, allocations: 310.3 kB / 1.168 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.7794, allocations: 16 kB / 1.168 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.7798, allocations: 55.83 kB / 1.168 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.78, allocations: 72.45 kB / 1.168 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.7801, allocations: 24.22 kB / 1.168 GB, free: 204 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002275/0.7823, allocations: 2.423 MB / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7823, allocations: 0 / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008388/0.7832, allocations: 291.5 kB / 1.17 GB, free: 13.47 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003784/0.787, allocations: 2.529 MB / 1.173 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.7888, allocations: 1.051 MB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7888, allocations: 0.5625 kB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7898, allocations: 0.6937 MB / 1.175 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.7911, allocations: 267 kB / 1.175 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.8106, allocations: 15.97 MB / 1.19 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.8118, allocations: 1.532 MB / 1.192 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004553/0.8123, allocations: 146.4 kB / 1.192 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.8129, allocations: 0.7023 MB / 1.193 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.813, allocations: 3.938 kB / 1.193 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04747/0.8604, allocations: 31.42 MB / 1.223 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.8607, allocations: 275.2 kB / 1.224 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.293, allocations: 4 kB / 1.224 GB, free: 6.055 MB / 0.9825 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)