Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",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.00128/0.00128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 68.86 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2965, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001776/0.2984, allocations: 0.6653 MB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.2992, allocations: 0.8391 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2992, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.2992, allocations: 3.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.2993, allocations: 3.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.2994, allocations: 15.97 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.2995, allocations: 35.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.2995, allocations: 11.92 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.2996, allocations: 19.92 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.2996, allocations: 19.92 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2996, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.2997, allocations: 4 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2997, allocations: 7.984 kB / 1.055 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2997, allocations: 15.92 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.191e-05/0.2998, allocations: 31.89 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2998, allocations: 4 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2998, allocations: 0 / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2998, allocations: 4 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003807/0.3002, allocations: 355.6 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.3002, allocations: 8.625 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.3002, allocations: 34.73 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.3003, allocations: 8.938 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.025e-05/0.3003, allocations: 160.4 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.3004, allocations: 384 / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.3004, allocations: 4.375 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3005, allocations: 62.22 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.3006, allocations: 3.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.3006, allocations: 8 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-06/0.3006, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.3008, allocations: 51.88 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.3011, allocations: 276.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3013, allocations: 62.47 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3014, allocations: 32.83 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3014, allocations: 7.984 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.3014, allocations: 34.56 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3014, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004415/0.3019, allocations: 113.6 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.3019, allocations: 55.44 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.302, allocations: 105.8 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.302, allocations: 25.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.3021, allocations: 84.14 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.3021, allocations: 3.906 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.3021, allocations: 17.7 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.3022, allocations: 318.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3024, allocations: 36.83 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3025, allocations: 37.69 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.3027, allocations: 64.83 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3027, allocations: 3.938 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002464/0.303, allocations: 89.62 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.303, allocations: 4 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.303, allocations: 3.938 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.303, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.3031, allocations: 16.02 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3031, allocations: 4 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.3032, allocations: 15.92 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3032, allocations: 0 / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.748e-05/0.3033, allocations: 100.1 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.452e-05/0.3034, allocations: 29.7 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000127/0.3035, allocations: 44.86 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.3035, allocations: 3.984 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000168/0.3037, allocations: 73.5 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.3037, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.3037, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-06/0.3037, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.3038, allocations: 16.02 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.3038, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.3038, allocations: 8.234 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3039, allocations: 8 kB / 1.057 GB, free: 3.934 MB / 0.8106 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.3039, allocations: 188.1 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.304, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.304, allocations: 7.531 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.304, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.304, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.304, allocations: 3.984 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3042, allocations: 157.6 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3042, allocations: 7.938 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.3042, allocations: 19.97 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3043, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3043, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3043, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3043, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3046, allocations: 187.3 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.3046, allocations: 85.08 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3046, allocations: 4 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.3047, allocations: 7.984 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.3047, allocations: 4.031 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3048, allocations: 4 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.3048, allocations: 87.27 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002439/0.305, allocations: 8 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005429/0.3056, allocations: 0.7201 MB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3059, allocations: 87.86 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.306, allocations: 4.156 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3061, allocations: 23.97 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3063, allocations: 8 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.3067, allocations: 151.1 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.307, allocations: 0.6846 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.307, allocations: 0 / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.307, allocations: 19.42 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.307, allocations: 0 / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/1.611, allocations: 1.447 MB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/8.901, allocations: 7.641 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches