Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase4,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_9_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.004982/0.004982, allocations: 101 kB / 15.73 MB, free: 6.051 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.001134/0.001134, allocations: 192.2 kB / 16.67 MB, free: 5.98 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.346/2.346, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.5 kB / 0.9504 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2363, allocations: 140.4 MB / 1.087 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1547/0.391, allocations: 156.7 MB / 1.241 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5436/0.9347, allocations: 21.73 MB / 1.262 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.9362, allocations: 59.19 kB / 1.262 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.9378, allocations: 1.154 MB / 1.263 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.9392, allocations: 0.8565 MB / 1.264 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.9403, allocations: 448.9 kB / 1.264 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.9416, allocations: 1.249 MB / 1.265 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.9424, allocations: 0.6938 MB / 1.266 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.9431, allocations: 0.5462 MB / 1.267 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.9442, allocations: 0.9153 MB / 1.268 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.9444, allocations: 68.25 kB / 1.268 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.9446, allocations: 107.6 kB / 1.268 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.9449, allocations: 321.1 kB / 1.268 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.9454, allocations: 489.9 kB / 1.268 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.9466, allocations: 1.198 MB / 1.27 GB, free: 3.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9466, allocations: 1.719 kB / 1.27 GB, free: 3.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9466, allocations: 1.203 kB / 1.27 GB, free: 3.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.9466, allocations: 3.969 kB / 1.27 GB, free: 3.012 MB / 1.014 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.002207/0.9489, allocations: 1.475 MB / 1.271 GB, free: 2.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.9489, allocations: 10.33 kB / 1.271 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.436e-05/0.949, allocations: 89.39 kB / 1.271 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.9492, allocations: 134.8 kB / 1.271 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.9501, allocations: 0.6639 MB / 1.272 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9502, allocations: 71.83 kB / 1.272 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.9504, allocations: 45.81 kB / 1.272 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.9514, allocations: 0.5208 MB / 1.273 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.9515, allocations: 1.781 kB / 1.273 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.9515, allocations: 20.09 kB / 1.273 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.9515, allocations: 11.08 kB / 1.273 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/0.9525, allocations: 413.6 kB / 1.273 GB, free: 1.559 MB / 1.014 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.003661/0.9562, allocations: 2.796 MB / 1.276 GB, free: 16.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.9572, allocations: 461.1 kB / 1.276 GB, free: 16.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.9577, allocations: 283.7 kB / 1.276 GB, free: 16.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.9578, allocations: 8.828 kB / 1.276 GB, free: 16.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005632/0.9584, allocations: 295.1 kB / 1.277 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.9584, allocations: 0 / 1.277 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002952/0.9613, allocations: 1.246 MB / 1.278 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.9614, allocations: 58.52 kB / 1.278 GB, free: 15.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.9635, allocations: 1.759 MB / 1.28 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.9635, allocations: 35.39 kB / 1.28 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.9639, allocations: 0.5194 MB / 1.28 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.964, allocations: 147.6 kB / 1.28 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.9642, allocations: 93.84 kB / 1.28 GB, free: 15.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9643, allocations: 329.6 kB / 1.281 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.9648, allocations: 215.5 kB / 1.281 GB, free: 14.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.9654, allocations: 330.1 kB / 1.281 GB, free: 14.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.9663, allocations: 0.5034 MB / 1.282 GB, free: 14.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9663, allocations: 1.812 kB / 1.282 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001679/0.968, allocations: 0.8574 MB / 1.283 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.968, allocations: 12.47 kB / 1.283 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.968, allocations: 2.703 kB / 1.283 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.9685, allocations: 181.7 kB / 1.283 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.9689, allocations: 94.5 kB / 1.283 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.9725, allocations: 2.991 MB / 1.286 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.973, allocations: 75.3 kB / 1.286 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.9731, allocations: 19.39 kB / 1.286 GB, free: 12.96 MB / 1.029 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.0006941/0.9738, allocations: 384.6 kB / 1.286 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.974, allocations: 119.8 kB / 1.286 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.9743, allocations: 142.8 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9743, allocations: 6.078 kB / 1.287 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/0.9743, allocations: 8.062 kB / 1.287 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.9743, allocations: 3.891 kB / 1.287 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.9772, allocations: 1.563 MB / 1.288 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9772, allocations: 0.9375 kB / 1.288 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.9774, allocations: 42.3 kB / 1.288 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.9779, allocations: 196.6 kB / 1.288 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.9779, allocations: 14.19 kB / 1.288 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.9823, allocations: 4.551 MB / 1.293 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9823, allocations: 2.422 kB / 1.293 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.9843, allocations: 1.065 MB / 1.294 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.9846, allocations: 219.2 kB / 1.294 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.9847, allocations: 12.81 kB / 1.294 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.9851, allocations: 29.88 kB / 1.294 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.9852, allocations: 50.05 kB / 1.294 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.9853, allocations: 20.25 kB / 1.294 GB, free: 8.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0016/0.9869, allocations: 1.281 MB / 1.295 GB, free: 8.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.01e-07/0.9869, allocations: 0.9688 kB / 1.295 GB, free: 8.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008861/0.9878, allocations: 203.5 kB / 1.296 GB, free: 8.852 MB / 1.029 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.003145/0.9909, allocations: 1.979 MB / 1.298 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.9925, allocations: 0.7195 MB / 1.298 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9925, allocations: 1.156 kB / 1.298 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.9933, allocations: 0.5569 MB / 1.299 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.9944, allocations: 198.7 kB / 1.299 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.006, allocations: 8.575 MB / 1.307 GB, free: 5.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/1.007, allocations: 1.153 MB / 1.308 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003174/1.008, allocations: 95.62 kB / 1.309 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.008, allocations: 404.2 kB / 1.309 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.008, allocations: 0 / 1.309 GB, free: 4.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/1.162, allocations: 21.25 MB / 1.33 GB, free: 2.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.91, allocations: 10.73 kB / 1.33 GB, free: 2.09 MB / 1.029 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)