Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_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_10_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.007666/0.007666, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001647/0.001647, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 60.14 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5959, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001812/0.5977, allocations: 0.6528 MB / 1.018 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.5984, allocations: 307 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-06/0.5985, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.5985, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-06/0.5985, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.5989, allocations: 87.78 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.925e-05/0.599, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.599, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.147e-05/0.599, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.5991, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-06/0.5991, allocations: 3.938 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.5994, allocations: 135.7 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.5994, allocations: 4 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.5994, allocations: 3.984 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.5995, allocations: 47.92 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5995, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5995, allocations: 3.938 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5995, allocations: 0 / 1.018 GB, free: 1.531 MB / 0.7637 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.0002975/0.5998, allocations: 329.3 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5999, allocations: 12.03 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.5999, allocations: 4.844 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.6, allocations: 160.4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6, allocations: 4.375 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.6, allocations: 4.375 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.6001, allocations: 38.2 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6002, allocations: 192 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.6002, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6002, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.6002, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.6003, allocations: 149.7 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.6004, allocations: 14.58 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.6004, allocations: 12.86 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.6012, allocations: 465.5 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.6012, allocations: 38.5 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.6012, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.6014, allocations: 41.62 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.6014, allocations: 51.41 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.6015, allocations: 93.86 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.6015, allocations: 25.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.6015, allocations: 84.12 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.6016, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.6016, allocations: 13.84 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6017, allocations: 314.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.6017, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-06/0.6017, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.6018, allocations: 12.84 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6018, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.5e-05/0.6018, allocations: 29.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6019, allocations: 8.094 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6019, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6019, allocations: 11.88 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.6019, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6019, allocations: 3.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.602, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.602, allocations: 0 / 1.02 GB, free: 15.32 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 (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 6.951e-05/0.602, allocations: 114.4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.6021, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.6021, allocations: 44.7 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6021, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6021, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6022, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.248e-05/0.6023, allocations: 145.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6023, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.6023, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6023, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.6023, allocations: 3.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6023, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6023, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.39e-05/0.6024, allocations: 69.09 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.6024, allocations: 77.11 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.6024, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.6024, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.6025, allocations: 7.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.6025, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.6025, allocations: 79.31 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6025, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002242/0.6027, allocations: 24 kB / 1.021 GB, free: 14.64 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 (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.0002567/0.603, allocations: 139.2 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.112e-05/0.6031, allocations: 8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6031, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.6031, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.6032, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.6034, allocations: 104.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.6036, allocations: 0.6731 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.6037, allocations: 11.44 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6037, allocations: 4.125 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.002046/0.6057, allocations: 0.7572 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches