Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001311/0.001312, allocations: 187 kB / 17.34 MB, free: 5.762 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7301, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002014/0.7321, allocations: 0.5814 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.7328, allocations: 291 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.7328, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.7328, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.7329, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.7333, allocations: 91.73 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.891e-05/0.7334, allocations: 7.984 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7335, allocations: 4 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.7335, allocations: 3.938 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.7336, allocations: 0 / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.7336, allocations: 0 / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.7338, allocations: 127.8 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.7338, allocations: 0 / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.7339, allocations: 0 / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.734, allocations: 63.89 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.7341, allocations: 4 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7341, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.7341, allocations: 4 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003323/0.7344, allocations: 327.6 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7345, allocations: 8.031 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.7345, allocations: 0.9375 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.7346, allocations: 164.4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7346, allocations: 384 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.7346, allocations: 4.375 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.7347, allocations: 30.2 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.7347, allocations: 192 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7347, allocations: 11.92 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7347, allocations: 0 / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.7348, allocations: 7.938 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.7349, allocations: 141.7 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.735, allocations: 18.58 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.735, allocations: 8.953 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007446/0.7358, allocations: 457.5 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.7358, allocations: 42.5 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.7358, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.7359, allocations: 37.64 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.736, allocations: 51.53 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.128e-05/0.736, allocations: 93.86 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.736, allocations: 29.64 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.7361, allocations: 84.12 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.7361, allocations: 3.906 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.7361, allocations: 13.72 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7363, allocations: 314.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-06/0.7363, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.7363, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.7363, allocations: 16.86 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7363, allocations: 0 / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.314e-05/0.7364, allocations: 33.69 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7364, allocations: 8 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7364, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7364, allocations: 3.938 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.7365, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.7365, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.7365, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.7365, allocations: 8.031 kB / 1.211 GB, free: 10.24 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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 6.259e-05/0.7366, allocations: 111.4 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.7366, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.7366, allocations: 44.69 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7367, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7367, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.7367, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.474e-05/0.7368, allocations: 145.7 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7368, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.7368, allocations: 4.031 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.7368, allocations: 11.91 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.7368, allocations: 3.938 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7368, allocations: 4 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7368, allocations: 0 / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.7369, allocations: 57.08 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.7369, allocations: 77.11 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.7369, allocations: 11.95 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.7369, allocations: 4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-06/0.737, allocations: 0 / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.737, allocations: 4 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.737, allocations: 75.28 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.737, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002685/0.7373, allocations: 28 kB / 1.212 GB, free: 9.566 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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.0003355/0.7376, allocations: 139.2 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.494e-05/0.7377, allocations: 4 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7377, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.7377, allocations: 15.86 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7379, allocations: 4.125 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.7381, allocations: 102.6 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.7383, allocations: 0.6729 MB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.7384, allocations: 7.438 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.7384, allocations: 0 / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.00208/0.7404, allocations: 0.7612 MB / 1.214 GB, free: 7.797 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches