Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.001224/0.001224, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001556/0.001556, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.11/3.11, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004201, allocations: 8.625 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4032, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001731/0.405, allocations: 1.148 MB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.4057, allocations: 319.3 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.4058, allocations: 4 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.4058, allocations: 3.938 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.4059, allocations: 7.922 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.4063, allocations: 75.86 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.4063, allocations: 15.92 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4065, allocations: 8 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.4065, allocations: 4 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.4066, allocations: 11.92 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.4066, allocations: 0 / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.4068, allocations: 131.8 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.4069, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.4069, allocations: 29.7 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.407, allocations: 59.89 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.407, allocations: 3.938 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.384e-06/0.407, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4071, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 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.0004749/0.4075, allocations: 355.5 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4076, allocations: 12.03 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.4076, allocations: 0 / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4078, allocations: 170.9 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4078, allocations: 0 / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4078, allocations: 11.94 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.408, allocations: 53.67 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.408, allocations: 4 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.4081, allocations: 0 / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4081, allocations: 0 / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4082, allocations: 47.95 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4086, allocations: 252.8 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4087, allocations: 42.59 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.4088, allocations: 28.91 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.4095, allocations: 461.5 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4095, allocations: 30.56 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.4095, allocations: 0 / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003661/0.4099, allocations: 101.6 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.41, allocations: 55.41 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.41, allocations: 102 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.4101, allocations: 25.7 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4101, allocations: 84.12 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.4101, allocations: 7.891 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.4102, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4103, allocations: 318.8 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.4104, allocations: 15.98 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.4105, allocations: 27.98 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.4105, allocations: 27.86 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4105, allocations: 0 / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.4107, allocations: 81.67 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4108, allocations: 8 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4108, allocations: 3.938 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4108, allocations: 0 / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.4109, allocations: 11.98 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4109, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.4109, allocations: 16.02 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.411, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.4112, allocations: 109.8 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4112, allocations: 7.906 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.4114, allocations: 84.78 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4114, allocations: 0 / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4114, allocations: 0 / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4115, allocations: 3.984 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4116, allocations: 153.7 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4116, allocations: 7.891 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.4117, allocations: 11.98 kB / 1.062 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4117, allocations: 4.031 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4117, allocations: 0 / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4117, allocations: 4 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4117, allocations: 0 / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4119, allocations: 171.5 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.412, allocations: 85 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.412, allocations: 0 / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.4121, allocations: 11.98 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.4122, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4122, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.4122, allocations: 83.45 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 32 / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002682/0.4125, allocations: 39.98 kB / 1.063 GB, free: 80 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.4128, allocations: 131.2 kB / 1.063 GB, free: 15.94 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.413, allocations: 47.97 kB / 1.063 GB, free: 15.89 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.413, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.4131, allocations: 23.97 kB / 1.063 GB, free: 15.87 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.4134, allocations: 12.12 kB / 1.063 GB, free: 15.86 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.4136, allocations: 112.5 kB / 1.063 GB, free: 15.72 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4139, allocations: 0.6731 MB / 1.064 GB, free: 15.02 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.414, allocations: 8 kB / 1.064 GB, free: 15.01 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.414, allocations: 11.38 kB / 1.064 GB, free: 15 MB / 0.8263 GB Notification: Performance of SimCode: time 1.793e-06/0.414, allocations: 0 / 1.064 GB, free: 15 MB / 0.8263 GB Notification: Performance of Templates: time 0.00433/0.4183, allocations: 0.8077 MB / 1.065 GB, free: 14.2 MB / 0.8263 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches