Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007764/0.0007765, allocations: 92.78 kB / 16.02 MB, free: 80 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.0009507/0.0009507, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 16 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7917, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002012/0.7937, allocations: 1.161 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.7947, allocations: 359.8 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.7947, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.7948, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.7948, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.7953, allocations: 79.84 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.7954, allocations: 19.94 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7955, allocations: 7.984 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.7956, allocations: 7.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.7956, allocations: 11.98 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.7956, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.7959, allocations: 127.8 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.796, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.796, allocations: 37.62 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.7962, allocations: 51.91 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7962, allocations: 0 / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7962, allocations: 3.938 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7962, allocations: 0 / 1.026 GB, free: 14 MB / 0.7794 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.000535/0.7968, allocations: 358.8 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7968, allocations: 15.97 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.7969, allocations: 0.9375 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.797, allocations: 168.3 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.797, allocations: 4.375 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7971, allocations: 384 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.7973, allocations: 62.17 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7973, allocations: 192 / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7973, allocations: 7.922 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7973, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.7975, allocations: 39.97 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.798, allocations: 256.9 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.7981, allocations: 50.44 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.7982, allocations: 24.91 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.799, allocations: 461.5 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7991, allocations: 30.56 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.7991, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.7995, allocations: 97.64 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.7995, allocations: 55.53 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.7996, allocations: 97.84 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.7996, allocations: 29.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.7997, allocations: 92.06 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.7997, allocations: 3.906 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.7997, allocations: 9.719 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7999, allocations: 314.8 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.8, allocations: 27.97 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.8001, allocations: 19.98 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.8002, allocations: 48.89 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8002, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002168/0.8005, allocations: 81.59 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8005, allocations: 6.344 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8005, allocations: 4.031 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8005, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.8006, allocations: 15.92 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8006, allocations: 0 / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.8007, allocations: 12 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.8007, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 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.0001497/0.8009, allocations: 125.7 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.8009, allocations: 11.91 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.8012, allocations: 76.78 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8012, allocations: 3.938 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8012, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8012, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.8014, allocations: 161.6 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8014, allocations: 3.984 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.8014, allocations: 8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8014, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8015, allocations: 4 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8015, allocations: 3.938 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8015, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.8017, allocations: 175.5 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.8018, allocations: 81.09 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.8018, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.8019, allocations: 8.031 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.8019, allocations: 3.984 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.8019, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.112e-05/0.802, allocations: 79.28 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.802, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002604/0.8023, allocations: 28 kB / 1.029 GB, free: 10.47 MB / 0.7794 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.0002897/0.8026, allocations: 135.6 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.8028, allocations: 47.89 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8028, allocations: 4.062 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.8029, allocations: 27.98 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.8032, allocations: 3.938 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.8035, allocations: 138.5 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.8038, allocations: 0.6849 MB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.8038, allocations: 7.438 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8038, allocations: 0 / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of Templates: time 0.002845/0.8067, allocations: 0.9677 MB / 1.031 GB, free: 8.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches