Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.002296/0.002296, allocations: 83.69 kB / 20.23 MB, free: 4.168 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.002341/0.002341, allocations: 157.3 kB / 23.55 MB, free: 0.8516 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.006/3.006, allocations: 377.9 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8109 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.056e-05, allocations: 3.219 kB / 0.8109 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001844/0.001874, allocations: 0.5974 MB / 0.8114 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006682/0.002542, allocations: 260.4 kB / 0.8117 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.002555, allocations: 0.5312 kB / 0.8117 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.002566, allocations: 6.219 kB / 0.8117 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-06/0.002571, allocations: 0 / 0.8117 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.003095, allocations: 103.8 kB / 0.8118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.778e-05/0.003133, allocations: 6 kB / 0.8118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.003163, allocations: 0 / 0.8118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.003192, allocations: 3.984 kB / 0.8118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.003215, allocations: 0 / 0.8118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.003224, allocations: 0 / 0.8118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.00349, allocations: 119.6 kB / 0.8119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.003504, allocations: 8.578 kB / 0.8119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.003517, allocations: 0.5312 kB / 0.8119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.003717, allocations: 83.75 kB / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003719, allocations: 4.719 kB / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00372, allocations: 0 / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003724, allocations: 0.5312 kB / 0.812 GB, free: 15.77 MB / 0.7292 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.0004067/0.004131, allocations: 353.7 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.004166, allocations: 8.031 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.004204, allocations: 4.938 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.004309, allocations: 104.6 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00432, allocations: 0.9062 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.004327, allocations: 1.75 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.004422, allocations: 38.25 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.00443, allocations: 192 / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004438, allocations: 4.312 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.004442, allocations: 1.531 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.004463, allocations: 3.938 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.004607, allocations: 108.6 kB / 0.8126 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.004666, allocations: 24.44 kB / 0.8126 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.004689, allocations: 11.78 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.005263, allocations: 82.78 kB / 0.8127 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.0053, allocations: 33.39 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.005301, allocations: 0 / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.005454, allocations: 42.48 kB / 0.8128 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.005496, allocations: 51.41 kB / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.005581, allocations: 147.6 kB / 0.813 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.005598, allocations: 25.7 kB / 0.813 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.005892, allocations: 126.9 kB / 0.8131 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.005922, allocations: 3.938 kB / 0.8131 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.005961, allocations: 24.52 kB / 0.8132 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.006221, allocations: 0.4883 MB / 0.8136 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.00623, allocations: 0 / 0.8136 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.006238, allocations: 5.906 kB / 0.8137 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.006267, allocations: 11.62 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006268, allocations: 0 / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.006329, allocations: 36.14 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.006342, allocations: 4 kB / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006347, allocations: 0 / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.00636, allocations: 0 / 0.8137 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.0064, allocations: 7.984 kB / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006407, allocations: 4 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.006418, allocations: 3.938 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.006423, allocations: 0.5312 kB / 0.8137 GB, free: 13.84 MB / 0.7292 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.0001104/0.006533, allocations: 162.5 kB / 0.8139 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.006541, allocations: 0 / 0.8139 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.006637, allocations: 36.64 kB / 0.8139 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.006644, allocations: 3.984 kB / 0.8139 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.006647, allocations: 0.75 kB / 0.8139 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.006649, allocations: 0 / 0.8139 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.00676, allocations: 117.2 kB / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006761, allocations: 0 / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.006774, allocations: 0.6562 kB / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006776, allocations: 0 / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.006781, allocations: 3.188 kB / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006782, allocations: 0 / 0.814 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006783, allocations: 4 kB / 0.814 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.006886, allocations: 76.31 kB / 0.8141 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.006893, allocations: 4 kB / 0.8141 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.006901, allocations: 0 / 0.8141 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.006908, allocations: 0 / 0.8141 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.006926, allocations: 0 / 0.8141 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.006928, allocations: 6.344 kB / 0.8141 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.006994, allocations: 123.2 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006994, allocations: 0 / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002229/0.007217, allocations: 31.92 kB / 0.8143 GB, free: 13.21 MB / 0.7292 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.0003/0.007517, allocations: 146.2 kB / 0.8144 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.007608, allocations: 11.69 kB / 0.8144 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.00761, allocations: 1.125 kB / 0.8144 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.007627, allocations: 11.69 kB / 0.8144 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.007753, allocations: 0 / 0.8144 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.007995, allocations: 96.97 kB / 0.8145 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.008053, allocations: 55.34 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.008064, allocations: 0.625 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.008085, allocations: 14.16 kB / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.008085, allocations: 0 / 0.8146 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.003759/0.01184, allocations: 0.6496 MB / 0.8152 GB, free: 12.18 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.730649668024853]