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 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.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.001254/0.001254, 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.001336/0.001336, allocations: 193.4 kB / 16.13 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 70.92 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003177/0.3282, allocations: 1.497 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.3289, allocations: 374.9 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.329, allocations: 4 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.329, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.329, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3294, allocations: 83.78 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.3295, allocations: 31.92 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.3296, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.3296, allocations: 11.94 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.3297, allocations: 11.97 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.3297, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.33, allocations: 135.8 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.33, allocations: 11.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.33, allocations: 11.98 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3303, allocations: 87.75 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3303, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.208e-06/0.3303, allocations: 3.984 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3303, allocations: 0 / 1.07 GB, free: 8.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005775/0.3309, allocations: 355.7 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3309, allocations: 12.03 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.331, allocations: 0.9375 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3311, allocations: 160.4 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3312, allocations: 4.375 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3312, allocations: 8.375 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3314, allocations: 46.23 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3314, allocations: 192 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3314, allocations: 7.938 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3314, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3316, allocations: 43.83 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.332, allocations: 245 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3321, allocations: 42.48 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.3322, allocations: 16.91 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/0.3329, allocations: 473.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.333, allocations: 30.56 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.333, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003469/0.3333, allocations: 93.48 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3334, allocations: 55.34 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.3335, allocations: 105.8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3335, allocations: 25.7 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.3335, allocations: 80.14 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.3335, allocations: 7.906 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3336, allocations: 13.84 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3337, allocations: 322.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.3338, allocations: 11.98 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.3339, allocations: 15.98 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.334, allocations: 40.77 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.334, allocations: 4.062 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.3342, allocations: 69.59 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3342, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.3343, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3343, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.3344, allocations: 11.98 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3344, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.3344, allocations: 7.984 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.3345, allocations: 4.031 kB / 1.072 GB, free: 6.016 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 (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.996e-05/0.3345, allocations: 113.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3346, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3348, allocations: 72.72 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3348, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3348, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3348, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.335, allocations: 169.6 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.335, allocations: 4 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.335, allocations: 7.984 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3351, allocations: 3.938 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3351, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3351, allocations: 3.984 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3351, allocations: 4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3353, allocations: 167.3 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3354, allocations: 85.05 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3354, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3355, allocations: 11.98 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3355, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3355, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.3356, allocations: 79.28 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3356, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002593/0.3359, allocations: 36.02 kB / 1.073 GB, free: 5.168 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 (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.0002661/0.3361, allocations: 131.2 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3363, allocations: 43.91 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3364, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.3364, allocations: 23.91 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3367, allocations: 9.188 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.337, allocations: 103.4 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3373, allocations: 0.6809 MB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.3373, allocations: 3.984 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.3373, allocations: 7.438 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3373, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of Templates: time 0.003112/0.3405, allocations: 0.8322 MB / 1.074 GB, free: 3.273 MB / 0.8262 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