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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00774/0.00774, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002038/0.002038, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.78 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2981, allocations: 162.2 MB / 1.242 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001712/0.2999, allocations: 0.6789 MB / 1.242 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.3008, allocations: 0.8354 MB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.3009, allocations: 0 / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.3009, allocations: 3.938 kB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.301, allocations: 3.938 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.3011, allocations: 19.97 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.3012, allocations: 27.92 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.3013, allocations: 12 kB / 1.243 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.3014, allocations: 15.92 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.3014, allocations: 11.98 kB / 1.243 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3014, allocations: 4 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3015, allocations: 4 kB / 1.243 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3015, allocations: 7.938 kB / 1.243 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.3015, allocations: 19.91 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.089e-05/0.3016, allocations: 32.11 kB / 1.243 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3016, allocations: 0 / 1.243 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3016, allocations: 8 kB / 1.243 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3016, allocations: 0 / 1.243 GB, free: 7.512 MB / 0.9669 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.0005332/0.3022, allocations: 355.4 kB / 1.243 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3022, allocations: 15.97 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.3023, allocations: 30.75 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.3023, allocations: 0.9375 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3024, allocations: 164.4 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3024, allocations: 384 / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3024, allocations: 12.38 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3027, allocations: 58.22 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3027, allocations: 3.938 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3027, allocations: 0 / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3027, allocations: 0 / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.303, allocations: 59.86 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3034, allocations: 280.8 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3036, allocations: 62.47 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3038, allocations: 36.89 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3038, allocations: 0 / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3038, allocations: 30.56 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3038, allocations: 0 / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000489/0.3043, allocations: 113.6 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3044, allocations: 55.41 kB / 1.244 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.3044, allocations: 105.8 kB / 1.244 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3045, allocations: 25.7 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.3045, allocations: 88.14 kB / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3046, allocations: 11.92 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3046, allocations: 17.72 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3047, allocations: 310.8 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3049, allocations: 36.86 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.305, allocations: 41.69 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3053, allocations: 64.83 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3053, allocations: 7.875 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002979/0.3056, allocations: 85.62 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3056, allocations: 8 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3056, allocations: 256 / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3057, allocations: 0 / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3058, allocations: 20.02 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3058, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.3059, allocations: 19.94 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3059, allocations: 3.984 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001263/0.306, allocations: 100.1 kB / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.688e-05/0.3061, allocations: 29.7 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000155/0.3063, allocations: 44.84 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.3063, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002042/0.3065, allocations: 65.61 kB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3065, allocations: 8 kB / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.3066, allocations: 0 / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-06/0.3066, allocations: 4.031 kB / 1.245 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.3066, allocations: 11.98 kB / 1.245 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.3066, allocations: 0 / 1.245 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.3067, allocations: 11.98 kB / 1.245 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.3067, allocations: 0 / 1.245 GB, free: 4.895 MB / 0.9669 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 0.0001051/0.3068, allocations: 184.7 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3068, allocations: 0 / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.3069, allocations: 7.516 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3069, allocations: 7.938 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3069, allocations: 4 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3069, allocations: 0 / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3071, allocations: 165.6 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3071, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.3072, allocations: 15.92 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3072, allocations: 4 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3072, allocations: 0 / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3072, allocations: 3.984 kB / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3072, allocations: 0 / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3076, allocations: 191.4 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.3076, allocations: 81.05 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3077, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3078, allocations: 11.98 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.3078, allocations: 4.031 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3078, allocations: 0 / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3079, allocations: 95.27 kB / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3079, allocations: 0 / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002724/0.3081, allocations: 4 kB / 1.246 GB, free: 4.035 MB / 0.9669 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.0006831/0.3088, allocations: 0.7279 MB / 1.247 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.3092, allocations: 71.92 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3092, allocations: 4.156 kB / 1.247 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3094, allocations: 35.91 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3097, allocations: 9.859 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.3102, allocations: 151.1 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3105, allocations: 0.6768 MB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3105, allocations: 8 kB / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.3106, allocations: 11.42 kB / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3106, allocations: 0 / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.3318, allocations: 1.477 MB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.921, allocations: 11.05 kB / 1.249 GB, free: 0.8672 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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