Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 107.6 kB / 15.99 MB, free: 6.355 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.00145/0.00145, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.12 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2976, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001963/0.2996, allocations: 0.7378 MB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.3006, allocations: 0.8351 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.3007, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.3007, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.3008, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.3009, allocations: 12 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.301, allocations: 35.86 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.3011, allocations: 11.98 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.3012, allocations: 11.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.3012, allocations: 19.91 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3012, allocations: 8 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.3012, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3013, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.3013, allocations: 11.94 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.164e-05/0.3014, allocations: 19.95 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3014, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.326e-06/0.3014, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3014, allocations: 3.938 kB / 1.066 GB, free: 13.34 MB / 0.8419 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.000539/0.3019, allocations: 363.7 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.302, allocations: 8.031 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.302, allocations: 4.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3022, allocations: 172.3 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3022, allocations: 384 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3022, allocations: 8.312 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3024, allocations: 62.22 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3024, allocations: 4.188 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3024, allocations: 11.92 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3025, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.3027, allocations: 51.92 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.3031, allocations: 268.9 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3033, allocations: 66.47 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3035, allocations: 32.89 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3035, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3035, allocations: 30.56 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3035, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004429/0.304, allocations: 113.5 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.304, allocations: 51.41 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.3041, allocations: 105.8 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3041, allocations: 25.7 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.3042, allocations: 88.27 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3042, allocations: 11.89 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3043, allocations: 13.66 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3044, allocations: 318.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3045, allocations: 32.83 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3047, allocations: 41.69 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3049, allocations: 60.8 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3049, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002629/0.3052, allocations: 97.59 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3052, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3052, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3052, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3053, allocations: 15.98 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3053, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.3054, allocations: 15.98 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3054, allocations: 4.031 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001111/0.3055, allocations: 96.11 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.22e-05/0.3056, allocations: 29.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001344/0.3058, allocations: 48.69 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.3058, allocations: 96 / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001793/0.306, allocations: 73.52 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.306, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/0.306, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-06/0.306, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.306, allocations: 11.98 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-06/0.306, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.3061, allocations: 15.92 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3061, allocations: 8.031 kB / 1.068 GB, free: 10.75 MB / 0.8419 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 9.625e-05/0.3062, allocations: 180.2 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.3062, allocations: 256 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3063, allocations: 11.52 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3063, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3063, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3065, allocations: 169.6 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3065, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.3066, allocations: 19.92 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3066, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.3066, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3066, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3066, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3069, allocations: 191.3 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.307, allocations: 77.11 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.307, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.3071, allocations: 11.92 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3071, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3071, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.3072, allocations: 87.27 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3072, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002534/0.3074, allocations: 12.03 kB / 1.069 GB, free: 9.902 MB / 0.8419 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.0001206/0.3076, allocations: 95.25 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3079, allocations: 87.84 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.308, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3081, allocations: 28.09 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3084, allocations: 17.98 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.3087, allocations: 155.2 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.309, allocations: 0.6768 MB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.3091, allocations: 19.42 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3091, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of Templates: time 0.002039/0.3111, allocations: 0.632 MB / 1.071 GB, free: 8.141 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches