Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.368/2.368, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.036e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001887/0.001918, allocations: 0.6109 MB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000608/0.002526, allocations: 271 kB / 0.8907 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.002545, allocations: 0 / 0.8907 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.002565, allocations: 4 kB / 0.8907 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-06/0.002572, allocations: 4 kB / 0.8907 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.00316, allocations: 99.62 kB / 0.8908 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.003207, allocations: 4 kB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.003251, allocations: 0 / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.003284, allocations: 4 kB / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.003313, allocations: 0 / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003325, allocations: 0 / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.003628, allocations: 123.7 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003643, allocations: 0 / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.003658, allocations: 0 / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.003869, allocations: 95.72 kB / 0.891 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.003872, allocations: 4 kB / 0.891 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003873, allocations: 0 / 0.891 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.003879, allocations: 0 / 0.891 GB, free: 8.512 MB / 0.8542 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.0003496/0.004228, allocations: 360.2 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.004295, allocations: 8.625 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004324, allocations: 1.281 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.004402, allocations: 108.6 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004413, allocations: 384 / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.004419, allocations: 384 / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.004513, allocations: 34.19 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.004524, allocations: 8.188 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004533, allocations: 384 / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.00454, allocations: 384 / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.004555, allocations: 3.938 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.004675, allocations: 101.3 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.242e-05/0.004717, allocations: 23.06 kB / 0.8916 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.004733, allocations: 7.688 kB / 0.8916 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.005231, allocations: 88 kB / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.00527, allocations: 41.33 kB / 0.8917 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.005271, allocations: 0 / 0.8917 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.005409, allocations: 33.66 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.005444, allocations: 51.41 kB / 0.8918 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.005501, allocations: 142.4 kB / 0.8919 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005513, allocations: 29.7 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.005554, allocations: 130.9 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.005592, allocations: 3.984 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.005627, allocations: 19.38 kB / 0.8921 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.005787, allocations: 0.4922 MB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.005798, allocations: 4 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.005805, allocations: 0 / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.00584, allocations: 11.62 kB / 0.8926 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005842, allocations: 4 kB / 0.8926 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.094e-05/0.005903, allocations: 33.77 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.005919, allocations: 4 kB / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005925, allocations: 0 / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.00594, allocations: 0 / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.005981, allocations: 4 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.005985, allocations: 0 / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.005999, allocations: 3.984 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.006004, allocations: 3.938 kB / 0.8927 GB, free: 6.586 MB / 0.8542 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 9.636e-05/0.0061, allocations: 160.5 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.006108, allocations: 0 / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.006198, allocations: 44.67 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.0062, allocations: 0 / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006204, allocations: 0 / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.006207, allocations: 0 / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.042e-05/0.006288, allocations: 97.19 kB / 0.893 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.006291, allocations: 4 kB / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.006305, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.006307, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.006311, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.006314, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006315, allocations: 0 / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.918e-05/0.006394, allocations: 80.34 kB / 0.893 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.006404, allocations: 11.92 kB / 0.893 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.006413, allocations: 4 kB / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-06/0.006419, allocations: 0 / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.00643, allocations: 0 / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.006432, allocations: 0 / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.006474, allocations: 119.2 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006475, allocations: 0 / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002335/0.006708, allocations: 23.94 kB / 0.8932 GB, free: 5.984 MB / 0.8542 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.0003085/0.007017, allocations: 151.2 kB / 0.8933 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.007094, allocations: 7.688 kB / 0.8933 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007095, allocations: 0 / 0.8933 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.007107, allocations: 15.75 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.007241, allocations: 7.875 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.00744, allocations: 83.95 kB / 0.8934 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.007483, allocations: 55.34 kB / 0.8935 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.007498, allocations: 0 / 0.8935 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.007551, allocations: 66.2 kB / 0.8936 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.007552, allocations: 4 kB / 0.8936 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of Templates: time 0.003195/0.01075, allocations: 0.7614 MB / 0.8943 GB, free: 4.77 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.334600856993347]