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.364/2.364, allocations: 390.5 MB / 398 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.001367/0.001367, allocations: 174.7 kB / 491.2 MB, free: 1.633 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.612/1.612, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009627/0.000963, allocations: 95.88 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.53e-05, allocations: 12 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.424, allocations: 149.3 MB / 1.358 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.424, allocations: 72.55 kB / 1.358 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01003/1.434, allocations: 2.788 MB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/1.434, allocations: 3.844 kB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.598e-05/1.434, allocations: 4 kB / 1.361 GB, free: 32.85 MB / 0.8386 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.001127/1.435, allocations: 0.5629 MB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.435, allocations: 11.56 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/1.435, allocations: 23.34 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.436, allocations: 218.9 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.436, allocations: 3.938 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/1.436, allocations: 7.656 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/1.436, allocations: 94 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/1.436, allocations: 120.1 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.436, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.436, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.436, allocations: 7.875 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.438, allocations: 0.5909 MB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/1.438, allocations: 130.4 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.438, allocations: 82.52 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/1.438, allocations: 8.594 kB / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.438, allocations: 32.48 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/1.438, allocations: 0 / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003385/1.438, allocations: 147.1 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.438, allocations: 58.81 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/1.438, allocations: 149.2 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/1.439, allocations: 25.7 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/1.439, allocations: 124 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/1.439, allocations: 61.66 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/1.439, allocations: 0 / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.439, allocations: 327.6 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/1.439, allocations: 47.61 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/1.439, allocations: 43.19 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/1.439, allocations: 40.59 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.439, allocations: 3.844 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002426/1.439, allocations: 156.4 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.439, allocations: 3.781 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.439, allocations: 5.531 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.439, allocations: 0 / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/1.44, allocations: 105.1 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.44, allocations: 0 / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/1.44, allocations: 85.17 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/1.44, allocations: 3.844 kB / 1.364 GB, free: 31.07 MB / 0.8386 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 () * 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 8.642e-05/1.44, allocations: 109.2 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000226/1.441, allocations: 149.8 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/1.441, allocations: 15.53 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/1.441, allocations: 25.39 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.441, allocations: 0 / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.441, allocations: 0 / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.441, allocations: 1.266 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/1.441, allocations: 245.5 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.441, allocations: 0 / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/1.441, allocations: 108.6 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.441, allocations: 0 / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/1.441, allocations: 0 / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.441, allocations: 6.281 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.441, allocations: 0 / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/1.442, allocations: 324 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/1.442, allocations: 98.56 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/1.442, allocations: 3.953 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/1.442, allocations: 78.5 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.442, allocations: 24.19 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/1.442, allocations: 7.281 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001025/1.442, allocations: 117.8 kB / 1.365 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.442, allocations: 3.875 kB / 1.365 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002553/1.443, allocations: 34.81 kB / 1.365 GB, free: 30.38 MB / 0.8386 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 () * 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.0007383/1.443, allocations: 0.8695 MB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002374/1.444, allocations: 115.1 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.444, allocations: 0 / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.444, allocations: 76.7 kB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/1.444, allocations: 36.19 kB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/1.445, allocations: 281.5 kB / 1.367 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/1.445, allocations: 0.7347 MB / 1.368 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001121/1.445, allocations: 20.91 kB / 1.368 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.445, allocations: 52.48 kB / 1.368 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/1.445, allocations: 0 / 1.368 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.469, allocations: 3.281 MB / 1.371 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.47, allocations: 155.9 kB / 1.371 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/3.114, allocations: 2.812 kB / 1.371 GB, free: 28.46 MB / 0.8386 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