Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.2 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.000923, allocations: 90.58 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006506, allocations: 14.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2665, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.4452, allocations: 149.3 MB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4455, allocations: 71.94 kB / 1.369 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008707/0.4542, allocations: 2.805 MB / 1.372 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4543, allocations: 4 kB / 1.372 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.4543, allocations: 4 kB / 1.372 GB, free: 9.852 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001145/0.4554, allocations: 0.5882 MB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4555, allocations: 8.031 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.4556, allocations: 42.56 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.4556, allocations: 31.66 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4559, allocations: 214.7 kB / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4559, allocations: 8 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.4559, allocations: 19.92 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.4568, allocations: 285.5 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4568, allocations: 0 / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4568, allocations: 4 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4568, allocations: 4 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.458, allocations: 391.6 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4593, allocations: 0.625 MB / 1.374 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.4601, allocations: 302.4 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4601, allocations: 0 / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4602, allocations: 34.56 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.4602, allocations: 0 / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.001909/0.4621, allocations: 0.6356 MB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4622, allocations: 55.41 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4623, allocations: 161.4 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4623, allocations: 29.7 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.4624, allocations: 128.3 kB / 1.375 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.4625, allocations: 55.2 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.4625, allocations: 0 / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4626, allocations: 326.8 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.4632, allocations: 195.8 kB / 1.376 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.4638, allocations: 199.7 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.4644, allocations: 201.6 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4644, allocations: 3.953 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001266/0.4657, allocations: 458.3 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4657, allocations: 4 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4657, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4657, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.4662, allocations: 103.9 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4662, allocations: 4 kB / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.4666, allocations: 75.92 kB / 1.377 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.4666, allocations: 8 kB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.4667, allocations: 127 kB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.4668, allocations: 23.67 kB / 1.377 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.4668, allocations: 25.86 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4668, allocations: 0 / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4668, allocations: 4 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4668, allocations: 0 / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.4671, allocations: 285.4 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4671, allocations: 0 / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.4676, allocations: 107.8 kB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4676, allocations: 0 / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.4676, allocations: 4 kB / 1.377 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4677, allocations: 7.938 kB / 1.377 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4677, allocations: 0 / 1.377 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.4696, allocations: 0.7621 MB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4697, allocations: 100.8 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4697, allocations: 11.95 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4701, allocations: 75.98 kB / 1.378 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.4702, allocations: 23.95 kB / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4702, allocations: 11.94 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.4703, allocations: 132.3 kB / 1.378 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4703, allocations: 0 / 1.378 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002531/0.4706, allocations: 40 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/0.4728, allocations: 1.31 MB / 1.379 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.474, allocations: 436.5 kB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.474, allocations: 0 / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.4746, allocations: 216.7 kB / 1.38 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.475, allocations: 32.11 kB / 1.38 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.4781, allocations: 1.519 MB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4785, allocations: 0.7321 MB / 1.382 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.4786, allocations: 13.08 kB / 1.382 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4787, allocations: 55.48 kB / 1.382 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.4787, allocations: 0 / 1.382 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.4942, allocations: 3.741 MB / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.4944, allocations: 196.9 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.316, allocations: 3.938 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat