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.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.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.001061/0.001061, allocations: 92.39 kB / 16.02 MB, free: 80 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.001204/0.001204, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 18.25 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0009215/0.3362, allocations: 318.9 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.3369, allocations: 307.1 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.3369, allocations: 0 / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.3369, allocations: 3.938 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-06/0.3369, allocations: 0 / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.3373, allocations: 75.8 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.996e-05/0.3374, allocations: 0 / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.3374, allocations: 4 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.3374, allocations: 0 / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.3375, allocations: 3.984 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.3375, allocations: 4 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.3378, allocations: 127.8 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.3378, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.3378, allocations: 33.67 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3379, allocations: 39.94 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3379, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.338, allocations: 0 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.338, allocations: 0 / 1.06 GB, free: 4.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000322/0.3383, allocations: 327.5 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3383, allocations: 11.97 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3384, allocations: 4.938 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3385, allocations: 164.4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3385, allocations: 4.312 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.3385, allocations: 4.375 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.3386, allocations: 34.19 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3386, allocations: 4.188 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3386, allocations: 3.938 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3387, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.3387, allocations: 4 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.3388, allocations: 141.7 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/0.3389, allocations: 22.59 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.3389, allocations: 8.859 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/0.3397, allocations: 457.5 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3397, allocations: 34.5 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3397, allocations: 0 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.3399, allocations: 41.62 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3399, allocations: 51.41 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.541e-05/0.34, allocations: 89.86 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.34, allocations: 33.83 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.34, allocations: 80.14 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3401, allocations: 3.984 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.3401, allocations: 13.66 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3402, allocations: 310.8 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.3402, allocations: 0 / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.3402, allocations: 4 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.3403, allocations: 16.78 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3403, allocations: 4.062 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.852e-05/0.3403, allocations: 33.7 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3404, allocations: 4 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3404, allocations: 4 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3404, allocations: 3.938 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/0.3405, allocations: 0 / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3405, allocations: 4 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.3405, allocations: 0 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3405, allocations: 0 / 1.062 GB, free: 1.816 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 (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.282e-05/0.3406, allocations: 109.9 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.3406, allocations: 3.984 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.3407, allocations: 44.7 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3407, allocations: 7.938 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3407, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3407, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3408, allocations: 145.7 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3408, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.3409, allocations: 4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3409, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3409, allocations: 7.969 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3409, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3409, allocations: 3.984 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.798e-05/0.341, allocations: 61.06 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.341, allocations: 81.11 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.341, allocations: 3.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.341, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.3411, allocations: 4.031 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3411, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.3411, allocations: 75.28 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002174/0.3413, allocations: 32 kB / 1.063 GB, free: 1.145 MB / 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 (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.0002784/0.3416, allocations: 135.2 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.328e-05/0.3417, allocations: 8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3417, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.3417, allocations: 7.938 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.3418, allocations: 1.891 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.3421, allocations: 108.4 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3423, allocations: 0.6809 MB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.3424, allocations: 7.438 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3424, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of Templates: time 0.002179/0.3445, allocations: 0.757 MB / 1.064 GB, free: 15.37 MB / 0.8262 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