Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007202/0.007203, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001669/0.00167, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001401, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3466, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002314/0.3489, allocations: 1.428 MB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.3496, allocations: 362.8 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.3496, allocations: 0 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.3497, allocations: 3.938 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.3497, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3502, allocations: 111.6 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.3502, allocations: 19.98 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.3503, allocations: 4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.3504, allocations: 11.94 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.3504, allocations: 11.98 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3504, allocations: 0 / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.3507, allocations: 131.7 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3507, allocations: 8 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.3507, allocations: 11.92 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3509, allocations: 91.8 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3509, allocations: 4 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3509, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3509, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 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.0004189/0.3513, allocations: 347.4 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3514, allocations: 12.62 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.3514, allocations: 4.922 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3515, allocations: 164.3 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3515, allocations: 8.312 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3516, allocations: 4.375 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3517, allocations: 50.23 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3518, allocations: 192 / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3518, allocations: 3.938 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3518, allocations: 0 / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.352, allocations: 31.97 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.3523, allocations: 256.8 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3524, allocations: 42.44 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.3525, allocations: 24.89 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.3532, allocations: 477.5 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3533, allocations: 30.56 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3533, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003759/0.3536, allocations: 85.58 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.3537, allocations: 51.41 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.3538, allocations: 97.86 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3538, allocations: 29.69 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.3538, allocations: 88.14 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3538, allocations: 3.906 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.3539, allocations: 9.719 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.354, allocations: 319 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.3541, allocations: 15.98 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.3542, allocations: 15.97 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3543, allocations: 40.83 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3543, allocations: 4 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.3545, allocations: 77.59 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3546, allocations: 4 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3546, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3546, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.3547, allocations: 11.98 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3547, allocations: 0 / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.3547, allocations: 4 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3548, allocations: 0 / 1.212 GB, free: 4.895 MB / 0.9669 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 7.947e-05/0.3548, allocations: 121.8 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3549, allocations: 0 / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3551, allocations: 68.78 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3551, allocations: 3.938 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3551, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3551, allocations: 4 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3553, allocations: 157.6 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3553, allocations: 4.031 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.3554, allocations: 8.172 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3554, allocations: 3.938 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3554, allocations: 7.938 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3554, allocations: 0 / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3554, allocations: 7.969 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3556, allocations: 171.4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.3557, allocations: 85.03 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3557, allocations: 0 / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3558, allocations: 4 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3558, allocations: 3.984 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3558, allocations: 4 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.3559, allocations: 79.28 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3559, allocations: 3.938 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002563/0.3561, allocations: 28 kB / 1.213 GB, free: 4.047 MB / 0.9669 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.0002334/0.3564, allocations: 139.2 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3566, allocations: 39.95 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3566, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.3567, allocations: 19.98 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.357, allocations: 7.328 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.3572, allocations: 105.5 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3575, allocations: 0.6806 MB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.3575, allocations: 8.125 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.3575, allocations: 7.438 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3575, allocations: 0 / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.003383/0.3609, allocations: 0.9105 MB / 1.215 GB, free: 2.07 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches