Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11 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.001094/0.001094, allocations: 182.9 kB / 0.4901 GB, free: 2.234 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.769/1.769, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.0008952/0.000895, allocations: 96.34 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003881, allocations: 17.88 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.4945, allocations: 150.1 MB / 1.376 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.4949, allocations: 67.97 kB / 1.376 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.009147/0.5041, allocations: 2.811 MB / 1.379 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.398e-06/0.5042, allocations: 0 / 1.379 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.811e-05/0.5042, allocations: 4 kB / 1.379 GB, free: 12.23 MB / 0.8855 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.001313/0.5055, allocations: 0.5882 MB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.5056, allocations: 12.56 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/0.5057, allocations: 46.55 kB / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.5057, allocations: 23.67 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.5061, allocations: 222.5 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5061, allocations: 12 kB / 1.38 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.5061, allocations: 16 kB / 1.38 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.507, allocations: 282.2 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.507, allocations: 0 / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.5071, allocations: 8 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5071, allocations: 0 / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5083, allocations: 395.6 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.5098, allocations: 0.6289 MB / 1.381 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.5106, allocations: 290.4 kB / 1.381 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.5106, allocations: 11.98 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5107, allocations: 34.56 kB / 1.381 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 3.146e-06/0.5107, allocations: 0 / 1.381 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.00192/0.5126, allocations: 0.6347 MB / 1.382 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5127, allocations: 51.41 kB / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.5128, allocations: 157.5 kB / 1.382 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5129, allocations: 33.69 kB / 1.382 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.5129, allocations: 128.3 kB / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.513, allocations: 59.12 kB / 1.382 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.513, allocations: 4 kB / 1.382 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5131, allocations: 330.8 kB / 1.382 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.5137, allocations: 187.8 kB / 1.383 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.5143, allocations: 205.1 kB / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.5149, allocations: 193 kB / 1.383 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5149, allocations: 7.953 kB / 1.383 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001209/0.5161, allocations: 457 kB / 1.383 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5162, allocations: 8.719 kB / 1.383 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5162, allocations: 4 kB / 1.383 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5162, allocations: 0 / 1.383 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.5167, allocations: 103.9 kB / 1.384 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5167, allocations: 0 / 1.384 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.517, allocations: 83.86 kB / 1.384 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.5171, allocations: 8 kB / 1.384 GB, free: 6.855 MB / 0.8855 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.000127/0.5172, allocations: 125.8 kB / 1.384 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.5172, allocations: 19.77 kB / 1.384 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.5173, allocations: 21.88 kB / 1.384 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5173, allocations: 4 kB / 1.384 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5173, allocations: 0 / 1.384 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5173, allocations: 3.984 kB / 1.384 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.5176, allocations: 269.4 kB / 1.384 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5176, allocations: 4 kB / 1.384 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.5181, allocations: 111.8 kB / 1.384 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5181, allocations: 0 / 1.384 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.5181, allocations: 8 kB / 1.384 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5181, allocations: 0 / 1.384 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5181, allocations: 0 / 1.384 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.52, allocations: 0.7616 MB / 1.385 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.5201, allocations: 105 kB / 1.385 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.5202, allocations: 3.953 kB / 1.385 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.5205, allocations: 79.92 kB / 1.385 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.5206, allocations: 15.97 kB / 1.385 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5206, allocations: 11.98 kB / 1.385 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001051/0.5208, allocations: 128.3 kB / 1.385 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.7e-07/0.5208, allocations: 0 / 1.385 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002855/0.521, allocations: 39.91 kB / 1.385 GB, free: 5.074 MB / 0.8855 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.002224/0.5233, allocations: 1.319 MB / 1.387 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5245, allocations: 424.8 kB / 1.387 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5245, allocations: 4 kB / 1.387 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.5251, allocations: 223.7 kB / 1.387 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5254, allocations: 36.75 kB / 1.387 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5286, allocations: 1.512 MB / 1.389 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.5289, allocations: 0.7321 MB / 1.389 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.529, allocations: 17.08 kB / 1.389 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.5292, allocations: 51.48 kB / 1.39 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of SimCode: time 6.322e-06/0.5292, allocations: 0 / 1.39 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.5458, allocations: 3.753 MB / 1.393 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.546, allocations: 204.4 kB / 1.393 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.331, allocations: 0 / 1.393 GB, free: 12.86 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat