Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 111.8 kB / 16.41 MB, free: 6.457 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.00138/0.00138, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.74, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00247/0.7426, allocations: 1.433 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.7433, allocations: 358.1 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.7433, allocations: 0 / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.7434, allocations: 3.938 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.7434, allocations: 7.984 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.7439, allocations: 107.7 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.7439, allocations: 23.98 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.744, allocations: 7.984 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.744, allocations: 11.94 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.114e-05/0.7441, allocations: 3.984 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.7441, allocations: 4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.7443, allocations: 131.7 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.7443, allocations: 11.94 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.7444, allocations: 4 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.7445, allocations: 92.28 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7445, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7446, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.7446, allocations: 4 kB / 1.169 GB, free: 1.648 MB / 0.8887 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.0004884/0.7451, allocations: 351.3 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.7451, allocations: 12.62 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.7451, allocations: 0.9375 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.7453, allocations: 176.3 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7453, allocations: 12.38 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.7453, allocations: 384 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7454, allocations: 46.25 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7455, allocations: 4.172 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.7455, allocations: 3.938 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7455, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.7456, allocations: 39.89 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.746, allocations: 256.8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7461, allocations: 38.5 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.596e-05/0.7462, allocations: 16.91 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.7469, allocations: 477.5 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.747, allocations: 30.56 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.747, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.7473, allocations: 85.53 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.7474, allocations: 55.39 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.7475, allocations: 97.86 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.7475, allocations: 25.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.7476, allocations: 84.14 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.7476, allocations: 3.953 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.7476, allocations: 17.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7477, allocations: 319 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.7478, allocations: 15.98 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.7479, allocations: 11.98 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.7481, allocations: 40.81 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7481, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.7483, allocations: 77.56 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7483, allocations: 7.984 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.7483, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7483, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.7484, allocations: 8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7484, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.7485, allocations: 11.98 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.7485, allocations: 4.031 kB / 1.172 GB, free: 15.05 MB / 0.9044 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 7.942e-05/0.7486, allocations: 109.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.7486, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.7488, allocations: 76.7 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7488, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.7488, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7488, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.749, allocations: 169.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.749, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.7491, allocations: 7.984 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7491, allocations: 3.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.7491, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.7491, allocations: 8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7491, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.7493, allocations: 167.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.7494, allocations: 81.06 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.7494, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.7495, allocations: 11.92 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.7495, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7495, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.7496, allocations: 87.2 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7496, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002366/0.7498, allocations: 31.94 kB / 1.172 GB, free: 14.2 MB / 0.9044 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.0002253/0.75, allocations: 139.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.7503, allocations: 39.95 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7503, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.7504, allocations: 19.98 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.7506, allocations: 3.938 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.7508, allocations: 105.5 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.7512, allocations: 0.6807 MB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.7512, allocations: 4 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.7512, allocations: 7.438 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7512, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.003082/0.7543, allocations: 0.9084 MB / 1.174 GB, free: 12.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches