Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00255/0.00255, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.39/3.39, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.219e-05, allocations: 2.938 kB / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002444/0.002486, allocations: 1.059 MB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.003976, allocations: 0.9883 MB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.004055, allocations: 4.5 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.004109, allocations: 19.73 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.004295, allocations: 41.38 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.004536, allocations: 75.78 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.00515, allocations: 228.4 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.005328, allocations: 45.22 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.005558, allocations: 140.7 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.005717, allocations: 83.75 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.005769, allocations: 20 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.005805, allocations: 17.12 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.005865, allocations: 51.81 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.005944, allocations: 51.84 kB / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.006267, allocations: 240.2 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006269, allocations: 0 / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00627, allocations: 0 / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.006276, allocations: 1.094 kB / 0.8805 GB, free: 3.535 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.001095/0.007371, allocations: 0.5539 MB / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.00741, allocations: 8.031 kB / 0.881 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.007504, allocations: 32.8 kB / 0.8811 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.00778, allocations: 173.1 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.0078, allocations: 8.375 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.007842, allocations: 16.38 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.008417, allocations: 187.3 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008429, allocations: 4.188 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.008451, allocations: 4.375 kB / 0.8815 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.008458, allocations: 5.938 kB / 0.8815 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.009167, allocations: 197.2 kB / 0.8816 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.01, allocations: 472.4 kB / 0.8821 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.01058, allocations: 196.4 kB / 0.8823 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.01099, allocations: 135.6 kB / 0.8824 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.01103, allocations: 4 kB / 0.8824 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.01109, allocations: 37.39 kB / 0.8825 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.01109, allocations: 7.938 kB / 0.8825 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.001299/0.01239, allocations: 360 kB / 0.8828 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.01244, allocations: 55.41 kB / 0.8829 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.0127, allocations: 255.5 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.01273, allocations: 29.7 kB / 0.8831 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01287, allocations: 179.2 kB / 0.8833 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.01294, allocations: 59.48 kB / 0.8834 GB, free: 452 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01305, allocations: 43.36 kB / 0.8834 GB, free: 400 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003139/0.01336, allocations: 0.504 MB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.01373, allocations: 99.92 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.01418, allocations: 190.4 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.01486, allocations: 209.8 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01486, allocations: 0 / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008249/0.01568, allocations: 265.5 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.0157, allocations: 4 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01571, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01572, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.01603, allocations: 63.89 kB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01604, allocations: 0 / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.01623, allocations: 43.8 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.01625, allocations: 8 kB / 0.8847 GB, free: 14.98 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.01641, allocations: 168.6 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.01647, allocations: 23.86 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.874e-05/0.01653, allocations: 25.8 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01654, allocations: 4 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01654, allocations: 0 / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01655, allocations: 4 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.01685, allocations: 204.5 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01685, allocations: 0 / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.01714, allocations: 51.89 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01715, allocations: 0 / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.01717, allocations: 8 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01717, allocations: 0 / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.01717, allocations: 3.984 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.01853, allocations: 0.5448 MB / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.01857, allocations: 23.77 kB / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.0186, allocations: 3.938 kB / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.01881, allocations: 36 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.01892, allocations: 27.95 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01893, allocations: 4 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001546/0.01909, allocations: 179 kB / 0.886 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01909, allocations: 0 / 0.886 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002624/0.01935, allocations: 47.89 kB / 0.886 GB, free: 13.57 MB / 0.8542 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 (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.0001665/0.01952, allocations: 99.17 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008395/0.02036, allocations: 242 kB / 0.8864 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02036, allocations: 0 / 0.8864 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.02079, allocations: 139.5 kB / 0.8865 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.02123, allocations: 39.92 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.02232, allocations: 363.1 kB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.02245, allocations: 116.1 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.376e-05/0.02255, allocations: 13.14 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.02264, allocations: 24.5 kB / 0.887 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.02264, allocations: 0 / 0.887 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.007411/0.03005, allocations: 2.929 MB / 0.8899 GB, free: 9.625 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.76849079306703]