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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001142/0.001142, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 64.08 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.002056/0.3587, allocations: 0.6526 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.3594, allocations: 321.1 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.3595, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.3595, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-06/0.3595, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.36, allocations: 75.86 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.645e-05/0.36, allocations: 8 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.3601, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.3601, allocations: 3.984 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.3601, allocations: 7.984 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.3601, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3604, allocations: 135.7 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.3604, allocations: 3.984 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.3605, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3607, allocations: 75.83 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3607, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3607, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3607, allocations: 3.938 kB / 1.069 GB, free: 9.578 MB / 0.8262 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.0003113/0.361, allocations: 327.6 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3611, allocations: 15.97 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.3611, allocations: 0.9375 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.3612, allocations: 160.4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3612, allocations: 384 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3612, allocations: 384 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.3613, allocations: 38.25 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3613, allocations: 192 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3613, allocations: 3.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3613, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.3614, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3615, allocations: 145.7 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.3616, allocations: 22.55 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3616, allocations: 4.859 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008235/0.3624, allocations: 477.5 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3625, allocations: 30.56 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3625, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.3626, allocations: 33.64 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3626, allocations: 55.34 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.3627, allocations: 89.86 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3627, allocations: 29.7 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.3627, allocations: 80.14 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3628, allocations: 3.984 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3628, allocations: 13.72 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.3629, allocations: 315 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.3629, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-06/0.3629, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.363, allocations: 8.859 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.363, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.532e-05/0.363, allocations: 33.64 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.363, allocations: 5.875 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3631, allocations: 7.922 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3631, allocations: 8.031 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.3631, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3631, allocations: 0 / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.3632, allocations: 8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3632, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 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 7.243e-05/0.3632, allocations: 111.6 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.3633, allocations: 3.906 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.3633, allocations: 40.75 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3633, allocations: 4.031 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3634, allocations: 3.938 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.3634, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.3634, allocations: 145.7 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3635, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.3635, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3635, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3635, allocations: 11.86 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3635, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3635, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.502e-05/0.3636, allocations: 57.14 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.3636, allocations: 81.09 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3636, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.3636, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.3637, allocations: 3.984 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3637, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.3637, allocations: 75.28 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3637, allocations: 0 / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.364, allocations: 28.03 kB / 1.071 GB, free: 6.699 MB / 0.8262 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.0002774/0.3642, allocations: 135.2 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.3643, allocations: 11.94 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3643, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-06/0.3643, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.3645, allocations: 11.92 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.3647, allocations: 74.77 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3649, allocations: 0.6692 MB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.365, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.365, allocations: 11.44 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.365, allocations: 128 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.002806/0.3678, allocations: 0.6407 MB / 1.073 GB, free: 5.082 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches