Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0015/0.0015, allocations: 191 kB / 16.25 MB, free: 6.637 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.45 kB / 0.9116 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 159.9 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.002099/0.3385, allocations: 0.6387 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.3392, allocations: 313 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-06/0.3392, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.3393, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.3393, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.3398, allocations: 87.86 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.42e-05/0.3399, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.3399, allocations: 7.969 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.3399, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.889e-05/0.3399, allocations: 4 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.615e-06/0.34, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3402, allocations: 147.7 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.3403, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.3403, allocations: 4 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3405, allocations: 67.88 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3405, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3405, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3405, allocations: 3.938 kB / 1.069 GB, free: 9.402 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003222/0.3408, allocations: 327.6 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3409, allocations: 11.97 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.3409, allocations: 8.906 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.341, allocations: 160.4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.341, allocations: 384 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.341, allocations: 4.375 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.3411, allocations: 30.27 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3411, allocations: 192 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3412, allocations: 3.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3412, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.3412, allocations: 8 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3413, allocations: 145.7 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.3414, allocations: 18.52 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.3414, allocations: 12.95 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008949/0.3423, allocations: 465.5 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3423, allocations: 30.56 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3423, allocations: 4 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.3425, allocations: 41.62 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3426, allocations: 55.47 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.3426, allocations: 93.86 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3426, allocations: 25.7 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.3427, allocations: 80.14 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3427, allocations: 3.938 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3427, allocations: 13.72 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3429, allocations: 310.8 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3429, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-06/0.3429, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.343, allocations: 12.92 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.343, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.316e-05/0.3431, allocations: 33.69 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3431, allocations: 8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3431, allocations: 3.938 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3431, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.3432, allocations: 3.938 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3432, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.3432, allocations: 7.906 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3432, allocations: 4.031 kB / 1.071 GB, free: 7.188 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 (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 7.795e-05/0.3433, allocations: 107.4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.3433, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.3434, allocations: 40.75 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3434, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3434, allocations: 4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3434, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.3435, allocations: 149.7 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3435, allocations: 4.031 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.3436, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3436, allocations: 8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3436, allocations: 7.875 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3436, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3436, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.281e-05/0.3437, allocations: 57.12 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3437, allocations: 77.11 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.3437, allocations: 11.97 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.3437, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.3437, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3438, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.3438, allocations: 75.28 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3438, allocations: 0 / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002251/0.344, allocations: 28 kB / 1.071 GB, free: 6.523 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 (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.0002803/0.3443, allocations: 143.2 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.3444, allocations: 7.938 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3444, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.3444, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3445, allocations: 4.062 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.3447, allocations: 88.92 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.345, allocations: 0.6768 MB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.345, allocations: 0 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.345, allocations: 11.38 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.345, allocations: 0 / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of Templates: time 0.002638/0.3477, allocations: 0.6407 MB / 1.073 GB, free: 4.887 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches