Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001778/0.001778, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.002006/0.002006, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 72.36 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3748, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002139/0.377, allocations: 0.5786 MB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.3777, allocations: 294.9 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.153e-05/0.3778, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.3778, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-06/0.3779, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.3784, allocations: 99.62 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.385e-05/0.3784, allocations: 7.938 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.3785, allocations: 0 / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.3785, allocations: 0 / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.589e-05/0.3785, allocations: 4 kB / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.3785, allocations: 0 / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.3788, allocations: 123.8 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.3788, allocations: 0 / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.3788, allocations: 0 / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.379, allocations: 67.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3791, allocations: 0 / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3791, allocations: 0 / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3791, allocations: 0 / 1.019 GB, free: 9.465 MB / 0.795 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.0003486/0.3794, allocations: 331.5 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3795, allocations: 16.92 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3795, allocations: 0.9375 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3797, allocations: 168.3 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3797, allocations: 384 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.3797, allocations: 384 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.946e-05/0.3798, allocations: 26.27 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3799, allocations: 4.188 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3799, allocations: 3.938 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3799, allocations: 3.984 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.3799, allocations: 4 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3801, allocations: 145.7 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.3801, allocations: 26.55 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3802, allocations: 4.859 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/0.381, allocations: 457.5 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.381, allocations: 38.56 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.381, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.3812, allocations: 33.64 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3812, allocations: 51.41 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.3813, allocations: 89.86 kB / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3813, allocations: 25.7 kB / 1.02 GB, free: 7.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.3814, allocations: 88.25 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.3814, allocations: 3.938 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.3814, allocations: 17.66 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3816, allocations: 314.8 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.3816, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-06/0.3816, allocations: 4 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.3817, allocations: 4.859 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3817, allocations: 4.062 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.477e-05/0.3817, allocations: 33.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3818, allocations: 7.984 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3818, allocations: 0 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3818, allocations: 3.938 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/0.3818, allocations: 4 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3819, allocations: 3.938 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.3819, allocations: 3.938 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3819, allocations: 4 kB / 1.021 GB, free: 7.258 MB / 0.795 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 0.0001079/0.382, allocations: 114.5 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.382, allocations: 0 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.3821, allocations: 40.75 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3821, allocations: 4 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3821, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3821, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3822, allocations: 141.7 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3822, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.3823, allocations: 4 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/0.3823, allocations: 3.984 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3823, allocations: 7.969 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3823, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3824, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.764e-05/0.3824, allocations: 61.08 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3825, allocations: 77.11 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3825, allocations: 3.938 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.3825, allocations: 3.984 kB / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.3825, allocations: 8.016 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3826, allocations: 0 / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.3826, allocations: 75.28 kB / 1.021 GB, free: 6.621 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3826, allocations: 0 / 1.021 GB, free: 6.621 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002352/0.3829, allocations: 32 kB / 1.022 GB, free: 6.59 MB / 0.795 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.0002975/0.3832, allocations: 135.2 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.3832, allocations: 3.938 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3832, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.3833, allocations: 4 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3834, allocations: 6.484 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3836, allocations: 114.7 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.3841, allocations: 0.6729 MB / 1.022 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.3841, allocations: 7.438 kB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3841, allocations: 0 / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of Templates: time 0.00244/0.3865, allocations: 0.7624 MB / 1.023 GB, free: 4.824 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches