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.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 64.33 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002828/0.3178, allocations: 1.433 MB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.3185, allocations: 354.8 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.3186, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3186, allocations: 3.938 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.3187, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.3191, allocations: 115.6 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.3192, allocations: 23.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.3193, allocations: 8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.3193, allocations: 11.92 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.3193, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3194, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.3196, allocations: 127.8 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.3196, allocations: 7.922 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3196, allocations: 11.94 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3198, allocations: 87.84 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3198, allocations: 7.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3198, allocations: 3.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.297 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.0004657/0.3203, allocations: 355.7 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3204, allocations: 12.03 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.3204, allocations: 0.9375 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3205, allocations: 160.4 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3206, allocations: 4.375 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3206, allocations: 4.375 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3208, allocations: 62.17 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3208, allocations: 192 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3209, allocations: 3.938 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3209, allocations: 3.984 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.321, allocations: 35.95 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.3214, allocations: 248.9 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3215, allocations: 42.53 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.3216, allocations: 16.91 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.3223, allocations: 473.5 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3223, allocations: 30.56 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.3223, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000346/0.3227, allocations: 93.58 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3227, allocations: 51.41 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.3228, allocations: 101.8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3228, allocations: 25.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.3229, allocations: 80.14 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3229, allocations: 7.906 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3229, allocations: 13.72 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.323, allocations: 318.9 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.3231, allocations: 19.98 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.3232, allocations: 11.98 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3233, allocations: 40.81 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3234, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002389/0.3236, allocations: 77.61 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3236, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3236, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3236, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.3237, allocations: 11.98 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3237, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.3238, allocations: 11.98 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3238, allocations: 0 / 1.073 GB, free: 5.703 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.713e-05/0.3239, allocations: 113.8 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3239, allocations: 4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3242, allocations: 72.72 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3242, allocations: 3.938 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3242, allocations: 0 / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3242, allocations: 3.938 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3244, allocations: 161.6 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3244, allocations: 4.031 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.3245, allocations: 11.98 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3245, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3245, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3245, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3245, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3247, allocations: 167.4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.3248, allocations: 88.98 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3248, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3249, allocations: 7.984 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3249, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3249, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.325, allocations: 79.28 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.3253, allocations: 35.98 kB / 1.073 GB, free: 4.859 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.0002415/0.3255, allocations: 136.1 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3257, allocations: 39.97 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3257, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3258, allocations: 19.97 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.326, allocations: 11.88 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.3263, allocations: 109.5 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3266, allocations: 0.6806 MB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.3266, allocations: 8.125 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.3266, allocations: 7.438 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3266, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.003008/0.3296, allocations: 0.8916 MB / 1.075 GB, free: 2.902 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