Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_11_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.001498/0.001498, 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.001547/0.001547, allocations: 193.3 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7424 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 66.64 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1682/0.4269, allocations: 157.3 MB / 1.218 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.4522, allocations: 22 MB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4537, allocations: 55.69 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.4563, allocations: 2.151 MB / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.4583, allocations: 1.425 MB / 1.243 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.4596, allocations: 0.5918 MB / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.4614, allocations: 1.82 MB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.4626, allocations: 1.088 MB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009159/0.4636, allocations: 0.8725 MB / 1.247 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.4652, allocations: 1.538 MB / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.4653, allocations: 91.94 kB / 1.249 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.4656, allocations: 136 kB / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.4611/0.9267, allocations: 0.5252 MB / 1.249 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008325/0.9276, allocations: 0.7582 MB / 1.25 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.9293, allocations: 1.829 MB / 1.252 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9293, allocations: 0 / 1.252 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9293, allocations: 0.875 kB / 1.252 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.9293, allocations: 0 / 1.252 GB, free: 9.758 MB / 0.9981 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.002643/0.932, allocations: 2.278 MB / 1.254 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.932, allocations: 10.09 kB / 1.254 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.9321, allocations: 100.7 kB / 1.254 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.9324, allocations: 237.3 kB / 1.254 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.9334, allocations: 1.001 MB / 1.255 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.9335, allocations: 91.34 kB / 1.255 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.9336, allocations: 61.5 kB / 1.255 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.9348, allocations: 0.7326 MB / 1.256 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.9348, allocations: 1.594 kB / 1.256 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.9349, allocations: 30.53 kB / 1.256 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.9349, allocations: 14.81 kB / 1.256 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.9359, allocations: 0.5872 MB / 1.257 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.9397, allocations: 3.529 MB / 1.26 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.941, allocations: 0.7181 MB / 1.261 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.9416, allocations: 404.4 kB / 1.261 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.9417, allocations: 12.56 kB / 1.261 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006715/0.9424, allocations: 434 kB / 1.262 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.9424, allocations: 0 / 1.262 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.003574/0.946, allocations: 1.795 MB / 1.263 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.946, allocations: 62.33 kB / 1.264 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.9489, allocations: 3.305 MB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.949, allocations: 42.5 kB / 1.267 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.9495, allocations: 0.8927 MB / 1.268 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.9497, allocations: 224.2 kB / 1.268 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.9499, allocations: 128 kB / 1.268 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.9499, allocations: 339.1 kB / 1.268 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.9506, allocations: 307.6 kB / 1.269 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.9512, allocations: 436.5 kB / 1.269 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9523, allocations: 0.7201 MB / 1.27 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9523, allocations: 1.156 kB / 1.27 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002017/0.9544, allocations: 1.21 MB / 1.271 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9544, allocations: 6.188 kB / 1.271 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9544, allocations: 5.188 kB / 1.271 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.955, allocations: 270.7 kB / 1.271 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.9555, allocations: 128 kB / 1.271 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.9599, allocations: 4.765 MB / 1.276 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.9605, allocations: 89.94 kB / 1.276 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.9605, allocations: 30.23 kB / 1.276 GB, free: 17.42 MB / 1.014 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.0007288/0.9613, allocations: 0.6091 MB / 1.277 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.9614, allocations: 204 kB / 1.277 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.9618, allocations: 251.2 kB / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.9618, allocations: 6.875 kB / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.9618, allocations: 5.031 kB / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.9618, allocations: 4.219 kB / 1.277 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.9651, allocations: 2.344 MB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9651, allocations: 1.781 kB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.9654, allocations: 68.41 kB / 1.279 GB, free: 16.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.9659, allocations: 254 kB / 1.28 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.966, allocations: 19.59 kB / 1.28 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.9703, allocations: 4.757 MB / 1.284 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9703, allocations: 0.9375 kB / 1.284 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.9727, allocations: 1.577 MB / 1.286 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.9731, allocations: 313.3 kB / 1.286 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.9732, allocations: 18.03 kB / 1.286 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.9736, allocations: 36.62 kB / 1.286 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.9738, allocations: 81.47 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.9738, allocations: 24.19 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002419/0.9763, allocations: 2.427 MB / 1.289 GB, free: 13.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9763, allocations: 0 / 1.289 GB, free: 13.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008711/0.9772, allocations: 285.5 kB / 1.289 GB, free: 13.19 MB / 1.014 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.004125/0.9813, allocations: 2.516 MB / 1.291 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9833, allocations: 1.148 MB / 1.293 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9833, allocations: 1.953 kB / 1.293 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.9842, allocations: 0.6885 MB / 1.293 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.9854, allocations: 284.6 kB / 1.294 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.002, allocations: 15.53 MB / 1.309 GB, free: 5.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.003, allocations: 1.53 MB / 1.31 GB, free: 5.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003996/1.003, allocations: 155.7 kB / 1.31 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/1.004, allocations: 0.7099 MB / 1.311 GB, free: 5.07 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.004, allocations: 3.938 kB / 1.311 GB, free: 5.066 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.548/2.552, allocations: 32.36 MB / 1.343 GB, free: 13.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.32/21.87, allocations: 6.859 kB / 1.343 GB, free: 13.64 MB / 1.029 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)