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 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.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.001019/0.001019, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009853/0.0009854, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.851/2.851, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005691/0.0005692, allocations: 12 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9201, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001784/0.9219, allocations: 1.145 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.9226, allocations: 335.9 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.9226, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.9227, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.9227, allocations: 11.97 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.9231, allocations: 79.73 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.9232, allocations: 15.97 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.9233, allocations: 4 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.9234, allocations: 8 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.9234, allocations: 7.922 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.9234, allocations: 4 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.9237, allocations: 135.7 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.9237, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.9237, allocations: 33.7 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.9239, allocations: 59.89 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9239, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9239, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9239, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 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.0005386/0.9244, allocations: 353.3 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9245, allocations: 11.98 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.9245, allocations: 8 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.9247, allocations: 163.1 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9247, allocations: 3.984 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.9247, allocations: 4 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.9249, allocations: 61.56 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9249, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.925, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.925, allocations: 4 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.9251, allocations: 39.97 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.9255, allocations: 256.8 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.9256, allocations: 46.5 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/0.9264, allocations: 473.5 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.9264, allocations: 34.56 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.9265, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.9268, allocations: 101.5 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.9269, allocations: 55.34 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.927, allocations: 97.84 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.927, allocations: 29.7 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.927, allocations: 84.14 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.9271, allocations: 7.844 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.9271, allocations: 4.125 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9272, allocations: 318.8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.9273, allocations: 23.98 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.9274, allocations: 15.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.9275, allocations: 28.05 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9275, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.9277, allocations: 77.61 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9277, allocations: 8.031 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9277, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9277, allocations: 4 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.9278, allocations: 11.98 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.9279, allocations: 0 / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.9279, allocations: 4 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.9279, allocations: 7.984 kB / 1.025 GB, free: 12.62 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.928, allocations: 113.8 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.928, allocations: 7.891 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.9283, allocations: 76.78 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9283, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9283, allocations: 4.031 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9283, allocations: 4 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.9285, allocations: 161.7 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9285, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.9285, allocations: 8 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9286, allocations: 3.953 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.9286, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9286, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9286, allocations: 3.984 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.9288, allocations: 175.4 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.9289, allocations: 81.09 kB / 1.025 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.9289, allocations: 3.953 kB / 1.025 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.929, allocations: 12.03 kB / 1.025 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.929, allocations: 7.984 kB / 1.025 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.929, allocations: 192 / 1.025 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.9291, allocations: 83.27 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.695e-06/0.9291, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.9293, allocations: 31.94 kB / 1.026 GB, free: 11.75 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/0.9296, allocations: 135.2 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.9298, allocations: 51.91 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9298, allocations: 4 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.9299, allocations: 23.92 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.9301, allocations: 3.984 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.9304, allocations: 104.8 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.9306, allocations: 0.6809 MB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.9307, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.9307, allocations: 11.44 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9307, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.003336/0.934, allocations: 0.8313 MB / 1.027 GB, free: 9.855 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches