Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_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.005588/0.005588, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001507/0.001507, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 64.11 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2872, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.7028/0.99, allocations: 156.7 MB / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02492/1.015, allocations: 21.75 MB / 1.394 GB, free: 9.512 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/1.017, allocations: 50.62 kB / 1.395 GB, free: 9.496 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.018, allocations: 1.163 MB / 1.396 GB, free: 8.883 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/1.02, allocations: 0.8557 MB / 1.396 GB, free: 8.355 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/1.021, allocations: 446.2 kB / 1.397 GB, free: 8.004 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001178/1.022, allocations: 1.255 MB / 1.398 GB, free: 7.301 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/1.023, allocations: 0.6812 MB / 1.399 GB, free: 6.883 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/1.023, allocations: 0.5482 MB / 1.399 GB, free: 6.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009894/1.024, allocations: 0.9147 MB / 1.4 GB, free: 6.172 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/1.024, allocations: 66.09 kB / 1.4 GB, free: 6.172 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/1.025, allocations: 112.1 kB / 1.4 GB, free: 6.152 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/1.025, allocations: 319.3 kB / 1.401 GB, free: 5.949 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/1.025, allocations: 499.5 kB / 1.401 GB, free: 5.586 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/1.027, allocations: 1.205 MB / 1.402 GB, free: 4.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.027, allocations: 0 / 1.402 GB, free: 4.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.236e-06/1.027, allocations: 0 / 1.402 GB, free: 4.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.027, allocations: 7.938 kB / 1.402 GB, free: 4.742 MB / 1.092 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.00213/1.029, allocations: 1.506 MB / 1.404 GB, free: 3.559 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/1.029, allocations: 13 kB / 1.404 GB, free: 3.555 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.592e-05/1.029, allocations: 89.55 kB / 1.404 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/1.029, allocations: 143.7 kB / 1.404 GB, free: 3.395 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/1.03, allocations: 0.6717 MB / 1.405 GB, free: 2.828 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.03, allocations: 74.19 kB / 1.405 GB, free: 2.777 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/1.03, allocations: 46.23 kB / 1.405 GB, free: 2.762 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/1.031, allocations: 0.5182 MB / 1.405 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.031, allocations: 13.11 kB / 1.405 GB, free: 2.426 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/1.031, allocations: 15.97 kB / 1.405 GB, free: 2.414 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.031, allocations: 11.16 kB / 1.405 GB, free: 2.414 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/1.032, allocations: 410 kB / 1.406 GB, free: 2.223 MB / 1.092 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.003434/1.035, allocations: 2.798 MB / 1.409 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/1.036, allocations: 452.7 kB / 1.409 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/1.037, allocations: 294.7 kB / 1.409 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/1.037, allocations: 7.859 kB / 1.409 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/1.038, allocations: 297.9 kB / 1.41 GB, free: 15.21 MB / 1.107 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/1.038, allocations: 0 / 1.41 GB, free: 15.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.002761/1.04, allocations: 1.244 MB / 1.411 GB, free: 14.46 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.04, allocations: 60.12 kB / 1.411 GB, free: 14.39 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.042, allocations: 1.75 MB / 1.412 GB, free: 13.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/1.042, allocations: 40.33 kB / 1.413 GB, free: 13.56 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/1.042, allocations: 0.5255 MB / 1.413 GB, free: 13.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.043, allocations: 147.1 kB / 1.413 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.043, allocations: 102 kB / 1.413 GB, free: 12.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.043, allocations: 331 kB / 1.414 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/1.043, allocations: 214.6 kB / 1.414 GB, free: 12.49 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/1.044, allocations: 327.7 kB / 1.414 GB, free: 12.26 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/1.045, allocations: 0.5111 MB / 1.415 GB, free: 11.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.045, allocations: 0 / 1.415 GB, free: 11.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001506/1.046, allocations: 0.8557 MB / 1.415 GB, free: 11.48 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.046, allocations: 7.469 kB / 1.415 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.046, allocations: 8.75 kB / 1.415 GB, free: 11.47 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/1.047, allocations: 187.8 kB / 1.416 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.047, allocations: 96.22 kB / 1.416 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/1.05, allocations: 3 MB / 1.419 GB, free: 8.902 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/1.051, allocations: 75.27 kB / 1.419 GB, free: 8.855 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/1.051, allocations: 19.41 kB / 1.419 GB, free: 8.852 MB / 1.107 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.0004043/1.051, allocations: 390.3 kB / 1.419 GB, free: 8.609 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.051, allocations: 123.6 kB / 1.419 GB, free: 8.539 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/1.052, allocations: 139.6 kB / 1.419 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.052, allocations: 4.594 kB / 1.419 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.052, allocations: 2.844 kB / 1.419 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.052, allocations: 6.922 kB / 1.419 GB, free: 8.453 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/1.054, allocations: 1.571 MB / 1.421 GB, free: 7.055 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.054, allocations: 4 kB / 1.421 GB, free: 7.051 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/1.054, allocations: 43.95 kB / 1.421 GB, free: 7.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.055, allocations: 193.5 kB / 1.421 GB, free: 6.812 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/1.055, allocations: 11.98 kB / 1.421 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/1.059, allocations: 4.566 MB / 1.426 GB, free: 1.969 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.059, allocations: 0 / 1.426 GB, free: 1.969 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/1.061, allocations: 1.063 MB / 1.427 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.061, allocations: 232.1 kB / 1.427 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/1.061, allocations: 12 kB / 1.427 GB, free: 0.625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.062, allocations: 27.97 kB / 1.427 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.062, allocations: 47.92 kB / 1.427 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/1.062, allocations: 19.98 kB / 1.427 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00137/1.063, allocations: 1.281 MB / 1.428 GB, free: 15.25 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/1.063, allocations: 0 / 1.428 GB, free: 15.25 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006883/1.064, allocations: 203.8 kB / 1.428 GB, free: 15.05 MB / 1.123 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.003627/1.068, allocations: 1.986 MB / 1.43 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001445/1.069, allocations: 0.7166 MB / 1.431 GB, free: 12.49 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.069, allocations: 0.6875 kB / 1.431 GB, free: 12.49 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/1.07, allocations: 0.5518 MB / 1.432 GB, free: 11.91 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/1.071, allocations: 205.9 kB / 1.432 GB, free: 11.72 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.083, allocations: 8.629 MB / 1.44 GB, free: 2.879 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/1.083, allocations: 1.157 MB / 1.441 GB, free: 1.695 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002531/1.084, allocations: 80.8 kB / 1.441 GB, free: 1.617 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/1.084, allocations: 407.3 kB / 1.442 GB, free: 1.219 MB / 1.123 GB Notification: Performance of SimCode: time 5.51e-07/1.084, allocations: 4 kB / 1.442 GB, free: 1.215 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5805/1.665, allocations: 21.24 MB / 1.463 GB, free: 12.28 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.09, allocations: 7.812 kB / 1.463 GB, free: 12.27 MB / 1.154 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)