Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_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_10_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.00117/0.00117, allocations: 107.4 kB / 16.41 MB, free: 6.438 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.001276/0.001277, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 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.51/2.51, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9063/0.9077, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00192/0.9097, allocations: 0.5788 MB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006553/0.9104, allocations: 279.1 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.9104, allocations: 0 / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.9104, allocations: 7.938 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.9105, allocations: 4 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.911, allocations: 92.34 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.367e-05/0.911, allocations: 4 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.9111, allocations: 0 / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.9111, allocations: 3.984 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.9111, allocations: 3.938 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.9112, allocations: 4 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.9114, allocations: 115.8 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.9114, allocations: 3.984 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.9114, allocations: 4 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.9116, allocations: 67.84 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.9116, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9116, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9116, allocations: 0 / 1.168 GB, free: 2.688 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003311/0.912, allocations: 331.6 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.912, allocations: 12.92 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.9121, allocations: 0.9375 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.9122, allocations: 168.4 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.9122, allocations: 384 / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.9122, allocations: 4.375 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.9123, allocations: 30.27 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.9123, allocations: 192 / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.9123, allocations: 3.938 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9123, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.9123, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.9125, allocations: 153.6 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.9126, allocations: 28.97 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.9126, allocations: 4.859 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/0.9134, allocations: 457.6 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9134, allocations: 30.56 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.9134, allocations: 4 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.9136, allocations: 41.56 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.9136, allocations: 51.41 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.9137, allocations: 93.8 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.9137, allocations: 25.7 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.9137, allocations: 84.14 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.9138, allocations: 7.906 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.9138, allocations: 9.719 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.9139, allocations: 315 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.9139, allocations: 4 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.9139, allocations: 4 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.914, allocations: 8.844 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.914, allocations: 4 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.763e-05/0.914, allocations: 37.64 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9141, allocations: 4 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9141, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.9141, allocations: 8.031 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.9141, allocations: 4 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.9141, allocations: 0 / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.9142, allocations: 0 / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.9142, allocations: 0 / 1.17 GB, free: 492 kB / 0.8887 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.727e-05/0.9142, allocations: 105.8 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.9143, allocations: 7.984 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.9143, allocations: 36.77 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9144, allocations: 4.031 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9144, allocations: 0 / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9144, allocations: 3.938 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.919e-05/0.9145, allocations: 149.7 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9145, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.9145, allocations: 4 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.9145, allocations: 0 / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.9145, allocations: 3.938 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9145, allocations: 3.938 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9145, allocations: 0 / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.968e-05/0.9146, allocations: 65.12 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.9147, allocations: 77.11 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.9147, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.9147, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.9147, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.9147, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.9147, allocations: 75.28 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9147, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002611/0.915, allocations: 28.03 kB / 1.171 GB, free: 15.81 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 (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.0002627/0.9153, allocations: 143.1 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.9154, allocations: 8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9154, allocations: 3.938 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.9154, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9155, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.9158, allocations: 102.6 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.916, allocations: 0.6729 MB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.9161, allocations: 7.438 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9161, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Templates: time 0.002335/0.9184, allocations: 0.7766 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches