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.001041/0.001041, allocations: 92.23 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.001485/0.001485, allocations: 183.9 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.293 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.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 10.44 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001708/0.3345, allocations: 1.156 MB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.3353, allocations: 363 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3354, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.3354, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.3354, allocations: 3.938 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.3359, allocations: 79.83 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.3359, allocations: 19.94 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.3361, allocations: 11.98 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.3361, allocations: 11.94 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.3361, allocations: 7.984 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.3362, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.3364, allocations: 131.8 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.3365, allocations: 0 / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.3365, allocations: 41.62 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3366, allocations: 47.91 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3367, allocations: 4 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3367, allocations: 4 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3367, allocations: 0 / 1.061 GB, free: 3.098 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.0004673/0.3371, allocations: 359.7 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3372, allocations: 11.97 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3372, allocations: 8.938 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3374, allocations: 168.3 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3374, allocations: 384 / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3374, allocations: 8.375 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3376, allocations: 58.17 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3376, allocations: 192 / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3376, allocations: 3.938 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3376, allocations: 0 / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3378, allocations: 43.97 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3382, allocations: 249 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3383, allocations: 50.44 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.3384, allocations: 32.84 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.3391, allocations: 461.5 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3392, allocations: 34.56 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3392, allocations: 0 / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003983/0.3396, allocations: 93.73 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.3396, allocations: 55.41 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.3397, allocations: 101.8 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3397, allocations: 25.7 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.3398, allocations: 84.08 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3398, allocations: 7.906 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3398, allocations: 13.72 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3399, allocations: 314.9 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.34, allocations: 23.97 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.3401, allocations: 19.98 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3403, allocations: 48.89 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3403, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.3405, allocations: 81.59 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3405, allocations: 8 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3405, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3406, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.3407, allocations: 15.92 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3407, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.3407, allocations: 12 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3408, allocations: 11.95 kB / 1.063 GB, free: 432 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.3408, allocations: 109.8 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.3409, allocations: 7.906 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3411, allocations: 80.78 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3411, allocations: 0 / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3411, allocations: 4 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3411, allocations: 0 / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3413, allocations: 161.6 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3413, allocations: 0 / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.3414, allocations: 8.047 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3414, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3414, allocations: 192 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3414, allocations: 3.938 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3414, allocations: 11.95 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3417, allocations: 175.5 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3417, allocations: 85.03 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3418, allocations: 8.031 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3419, allocations: 8 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3419, allocations: 3.984 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3419, allocations: 3.938 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.3419, allocations: 79.28 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3419, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002602/0.3422, allocations: 28 kB / 1.064 GB, free: 15.56 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.0002598/0.3425, allocations: 139.2 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3427, allocations: 51.91 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3427, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.3428, allocations: 19.98 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3431, allocations: 14.05 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.3434, allocations: 142.4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3436, allocations: 0.677 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.3436, allocations: 11.44 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3436, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.002688/0.3463, allocations: 0.9588 MB / 1.066 GB, free: 13.49 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches