Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 115.5 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 193.1 kB / 20.02 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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 / 245.7 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8997, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00236/0.9021, allocations: 1.434 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.9027, allocations: 359.3 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.9028, allocations: 0.6562 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.9028, allocations: 0.7812 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.9029, allocations: 4.734 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.9033, allocations: 106.7 kB / 1.264 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.817e-05/0.9034, allocations: 27.16 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.9035, allocations: 12.09 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.9035, allocations: 9.297 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.9036, allocations: 9.297 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.9036, allocations: 2.312 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.9038, allocations: 129 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.9038, allocations: 6.078 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.9039, allocations: 11.59 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.9041, allocations: 93.17 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9041, allocations: 0.6562 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9041, allocations: 0.75 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.9041, allocations: 4 kB / 1.265 GB, free: 6.598 MB / 0.9981 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.0003858/0.9045, allocations: 350.5 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9045, allocations: 10.64 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.9046, allocations: 5.797 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.054e-05/0.9046, allocations: 167.5 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.9047, allocations: 1.188 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.9047, allocations: 1.844 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.9048, allocations: 53.52 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9049, allocations: 4.125 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.9049, allocations: 4.719 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.9049, allocations: 0 / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.9051, allocations: 32.64 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.9053, allocations: 246.9 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.9054, allocations: 44.91 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.9055, allocations: 23.66 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.9062, allocations: 468.2 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.9062, allocations: 40.58 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9062, allocations: 3.938 kB / 1.266 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.9065, allocations: 80.11 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.9066, allocations: 56.28 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.9066, allocations: 101.7 kB / 1.266 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.9066, allocations: 25.7 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.9067, allocations: 82.34 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.9067, allocations: 9.344 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.9067, allocations: 12.64 kB / 1.266 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.9068, allocations: 312.8 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.9068, allocations: 18.81 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.9069, allocations: 21.92 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.9071, allocations: 36.86 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9071, allocations: 0 / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/0.9073, allocations: 71.59 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9073, allocations: 13.09 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9073, allocations: 1.453 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.9073, allocations: 0 / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.9074, allocations: 9.359 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.9074, allocations: 0 / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.9075, allocations: 6.141 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.9075, allocations: 1.484 kB / 1.267 GB, free: 4.402 MB / 0.9981 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 4.519e-05/0.9075, allocations: 116.3 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.9076, allocations: 5.812 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.9078, allocations: 70.56 kB / 1.267 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9078, allocations: 4.734 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9078, allocations: 0.625 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9078, allocations: 0.6094 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.9079, allocations: 159.4 kB / 1.267 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9079, allocations: 1.531 kB / 1.267 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.908, allocations: 9.141 kB / 1.267 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.908, allocations: 4.031 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.908, allocations: 0.9062 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.908, allocations: 0 / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.908, allocations: 1.609 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.9082, allocations: 169.7 kB / 1.267 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.9083, allocations: 83.23 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.9083, allocations: 5.391 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.9083, allocations: 10.53 kB / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.9084, allocations: 2.391 kB / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.9084, allocations: 0 / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.331e-05/0.9084, allocations: 84.25 kB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9084, allocations: 0 / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002592/0.9087, allocations: 33.34 kB / 1.268 GB, free: 3.695 MB / 0.9981 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.0002228/0.9089, allocations: 133.1 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.9091, allocations: 39.47 kB / 1.268 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9092, allocations: 4.062 kB / 1.268 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.9092, allocations: 20.53 kB / 1.268 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.9095, allocations: 8.328 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.9097, allocations: 138.4 kB / 1.268 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.687e-05/0.9098, allocations: 0.6754 MB / 1.269 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.9099, allocations: 10.09 kB / 1.269 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.9099, allocations: 0 / 1.269 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of Templates: time 0.00302/0.9129, allocations: 0.9874 MB / 1.27 GB, free: 2.664 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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: 11.231533118989319]