Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.001094/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001259/0.001259, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.549/2.549, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8125, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00289/0.8154, allocations: 1.502 MB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.8161, allocations: 338.8 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.8162, allocations: 0 / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.8162, allocations: 7.938 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.8163, allocations: 1.375 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.8167, allocations: 92.98 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.8168, allocations: 20.23 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8169, allocations: 2.75 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.817, allocations: 12.11 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.817, allocations: 14.66 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.817, allocations: 1.375 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.8173, allocations: 138.8 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.8173, allocations: 9.359 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.8173, allocations: 9.312 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.8175, allocations: 90.05 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8175, allocations: 0 / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8175, allocations: 0 / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8175, allocations: 0 / 0.9513 GB, free: 7.438 MB / 0.7169 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.0004243/0.818, allocations: 352.7 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.818, allocations: 9.625 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.818, allocations: 6.312 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.8181, allocations: 173.6 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.8181, allocations: 384 / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.8182, allocations: 1.75 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.8183, allocations: 50.42 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8183, allocations: 192 / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.8184, allocations: 3.938 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8184, allocations: 1.25 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.8185, allocations: 35.03 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.8188, allocations: 252.7 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.819, allocations: 38.62 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.8191, allocations: 22.56 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.8197, allocations: 466 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.8197, allocations: 31.84 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.8197, allocations: 0 / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003461/0.8201, allocations: 89.7 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.8201, allocations: 51.41 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.8202, allocations: 98.78 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8202, allocations: 25.7 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.8203, allocations: 85.58 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.8203, allocations: 5.625 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.8203, allocations: 11.09 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.8204, allocations: 320.1 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.8205, allocations: 17.44 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.8205, allocations: 17.08 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.8207, allocations: 39.08 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8207, allocations: 1.25 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.8209, allocations: 76.25 kB / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8209, allocations: 7.719 kB / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8209, allocations: 0 / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8209, allocations: 0 / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.821, allocations: 10.42 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.821, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.8211, allocations: 8.859 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.8211, allocations: 4.031 kB / 0.9535 GB, free: 5.113 MB / 0.7169 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.204e-05/0.8211, allocations: 115.5 kB / 0.9536 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.8212, allocations: 5.594 kB / 0.9536 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.8214, allocations: 65.44 kB / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.8214, allocations: 9.078 kB / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8214, allocations: 0 / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8214, allocations: 1.125 kB / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8215, allocations: 165.7 kB / 0.9538 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8215, allocations: 4 kB / 0.9538 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.8216, allocations: 7 kB / 0.9538 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.8216, allocations: 0 / 0.9538 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8216, allocations: 3.984 kB / 0.9538 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8216, allocations: 1.438 kB / 0.9538 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8216, allocations: 0 / 0.9538 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.8218, allocations: 166.7 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.8219, allocations: 78.36 kB / 0.9541 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8219, allocations: 1.312 kB / 0.9541 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.822, allocations: 2.5 kB / 0.9541 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.822, allocations: 6.609 kB / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.822, allocations: 4 kB / 0.9541 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.822, allocations: 82.78 kB / 0.9542 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.822, allocations: 3.938 kB / 0.9542 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.8223, allocations: 31.47 kB / 0.9542 GB, free: 4.367 MB / 0.7169 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.0002968/0.8226, allocations: 136.1 kB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.8229, allocations: 38.16 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8229, allocations: 3.938 kB / 0.9544 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/0.823, allocations: 19.95 kB / 0.9544 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.8232, allocations: 9.297 kB / 0.9544 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.8236, allocations: 100.3 kB / 0.9545 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.8239, allocations: 0.689 MB / 0.9552 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.8239, allocations: 1.406 kB / 0.9552 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.8239, allocations: 13.28 kB / 0.9552 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.824, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.004081/0.828, allocations: 0.8289 MB / 0.956 GB, free: 2.973 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches