Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_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.001953/0.001954, allocations: 108 kB / 15.61 MB, free: 152 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.002345/0.002346, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 64.17 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3292, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002652/0.3319, allocations: 1.428 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000664/0.3326, allocations: 362.8 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.3326, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3327, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/0.3327, allocations: 7.922 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.3332, allocations: 103.7 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.3333, allocations: 23.92 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.3334, allocations: 8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.3334, allocations: 19.91 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.242e-05/0.3334, allocations: 7.984 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3335, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3337, allocations: 127.7 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3337, allocations: 7.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3337, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3339, allocations: 87.8 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3339, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3339, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.334, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 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.0004467/0.3344, allocations: 359.7 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3344, allocations: 8.031 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3345, allocations: 4.938 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3346, allocations: 160.4 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3346, allocations: 384 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3346, allocations: 4.375 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3348, allocations: 54.17 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3348, allocations: 8.188 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3348, allocations: 7.875 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3348, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.335, allocations: 31.95 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.3353, allocations: 240.9 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3355, allocations: 50.53 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.3356, allocations: 24.84 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.3363, allocations: 481.4 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3364, allocations: 34.55 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3364, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.3367, allocations: 77.56 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3367, allocations: 51.41 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.3368, allocations: 106 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3368, allocations: 25.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.3369, allocations: 84.14 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3369, allocations: 7.906 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3369, allocations: 13.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.337, allocations: 314.8 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.3371, allocations: 23.92 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3372, allocations: 15.98 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3374, allocations: 44.81 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3374, allocations: 4 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.3376, allocations: 65.61 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3376, allocations: 5.562 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3376, allocations: 4.094 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3376, allocations: 3.984 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.3377, allocations: 8 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3377, allocations: 3.938 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.3378, allocations: 7.984 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3378, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 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.059e-05/0.3379, allocations: 109.8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3379, allocations: 4 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.3381, allocations: 72.78 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3382, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3382, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3382, allocations: 3.984 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.3383, allocations: 157.6 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3383, allocations: 3.938 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.3384, allocations: 11.98 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3384, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3384, allocations: 4.031 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3384, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3384, allocations: 3.938 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3387, allocations: 167.4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.3387, allocations: 85.05 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3387, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.3388, allocations: 12.02 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3388, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3389, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.3389, allocations: 83.28 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002719/0.3392, allocations: 31.98 kB / 1.073 GB, free: 4.766 MB / 0.8262 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.0002438/0.3394, allocations: 131.8 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3396, allocations: 43.89 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3397, allocations: 0 / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.3398, allocations: 24.05 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.34, allocations: 3.938 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.3402, allocations: 105.5 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3405, allocations: 0.6845 MB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.3405, allocations: 4 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.3405, allocations: 7.438 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3406, allocations: 4.062 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.003194/0.3438, allocations: 0.8995 MB / 1.075 GB, free: 2.801 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches