Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009433/0.0009432, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009531/0.0009533, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.2 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005073, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.985, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0008363/0.9859, allocations: 314.6 kB / 0.9538 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.9865, allocations: 274.7 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.9865, allocations: 0 / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.9865, allocations: 3.938 kB / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.9865, allocations: 0 / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.987, allocations: 74.98 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.719e-05/0.987, allocations: 4 kB / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.9871, allocations: 5.422 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.9871, allocations: 0 / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.9871, allocations: 3.984 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.9872, allocations: 1.031 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.9875, allocations: 132.4 kB / 0.9543 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.9875, allocations: 0 / 0.9543 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.9875, allocations: 25.7 kB / 0.9543 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9876, allocations: 45.64 kB / 0.9544 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.9876, allocations: 4 kB / 0.9544 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9876, allocations: 1.562 kB / 0.9544 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.9876, allocations: 0 / 0.9544 GB, free: 7.465 MB / 0.7169 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.00025/0.9879, allocations: 329.5 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.988, allocations: 9.344 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.988, allocations: 5.422 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.268e-05/0.9881, allocations: 159.1 kB / 0.9548 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.9881, allocations: 0 / 0.9548 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.9881, allocations: 5.438 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.9882, allocations: 35.05 kB / 0.9549 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9882, allocations: 0 / 0.9549 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9882, allocations: 3.938 kB / 0.9549 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9883, allocations: 1.156 kB / 0.9549 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.9883, allocations: 5.016 kB / 0.9549 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.9884, allocations: 154.7 kB / 0.955 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.9884, allocations: 17.27 kB / 0.9551 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.9892, allocations: 469.4 kB / 0.9555 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.9892, allocations: 38.5 kB / 0.9555 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9892, allocations: 0 / 0.9555 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.9894, allocations: 39.31 kB / 0.9556 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.9894, allocations: 51.41 kB / 0.9556 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.953e-05/0.9894, allocations: 89.86 kB / 0.9557 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.9895, allocations: 27.11 kB / 0.9557 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.405e-05/0.9895, allocations: 80.14 kB / 0.9558 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.9895, allocations: 3.906 kB / 0.9558 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.9895, allocations: 0 / 0.9558 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.9896, allocations: 316.2 kB / 0.9561 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.9896, allocations: 9.562 kB / 0.9561 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.9896, allocations: 0 / 0.9561 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.616e-05/0.9896, allocations: 5.312 kB / 0.9561 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9896, allocations: 1 kB / 0.9561 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.187e-05/0.9897, allocations: 34.22 kB / 0.9562 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9897, allocations: 6.188 kB / 0.9562 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9897, allocations: 3.984 kB / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.9897, allocations: 0 / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.9898, allocations: 1.5 kB / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9898, allocations: 4.094 kB / 0.9562 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.9898, allocations: 1.375 kB / 0.9562 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.9898, allocations: 0 / 0.9562 GB, free: 5.398 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.9899, allocations: 111.6 kB / 0.9563 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.9899, allocations: 0 / 0.9563 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.9899, allocations: 45.38 kB / 0.9563 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.99, allocations: 0 / 0.9563 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.99, allocations: 1.25 kB / 0.9563 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.99, allocations: 3.938 kB / 0.9563 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.38e-05/0.99, allocations: 155.1 kB / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.9901, allocations: 0 / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.9901, allocations: 1.969 kB / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9901, allocations: 0 / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.9901, allocations: 0.9375 kB / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9901, allocations: 0 / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9901, allocations: 0.9375 kB / 0.9565 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.058e-05/0.9901, allocations: 62.41 kB / 0.9566 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.9902, allocations: 89.84 kB / 0.9566 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.9902, allocations: 1.062 kB / 0.9566 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.9902, allocations: 0 / 0.9566 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.9902, allocations: 0.9375 kB / 0.9566 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.9902, allocations: 0 / 0.9566 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.364e-05/0.9902, allocations: 76.34 kB / 0.9567 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9903, allocations: 0 / 0.9567 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002512/0.9905, allocations: 24.84 kB / 0.9567 GB, free: 4.773 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.9908, allocations: 146.2 kB / 0.9569 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.9908, allocations: 7.531 kB / 0.9569 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9909, allocations: 0 / 0.9569 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-06/0.9909, allocations: 6.625 kB / 0.9569 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.991, allocations: 10.23 kB / 0.9569 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.9911, allocations: 72.45 kB / 0.957 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.9912, allocations: 0.6762 MB / 0.9576 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.131e-05/0.9913, allocations: 7.938 kB / 0.9576 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/0.9913, allocations: 8.562 kB / 0.9576 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9913, allocations: 0 / 0.9576 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.002569/0.9939, allocations: 0.6414 MB / 0.9583 GB, free: 3.512 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches