Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_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.0009933/0.0009934, 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.0009781/0.0009781, 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.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.418 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.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 15.98 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9854/0.9858, allocations: 142.3 MB / 0.9535 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001652/0.9875, allocations: 1.141 MB / 0.9546 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.9882, allocations: 335.8 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.9882, allocations: 1 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.9883, allocations: 3.984 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.9883, allocations: 0.9062 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.9887, allocations: 75.67 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.9888, allocations: 21.12 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.9889, allocations: 2.219 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.989, allocations: 14.64 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.989, allocations: 3.375 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.989, allocations: 5.156 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.9893, allocations: 132.6 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.9893, allocations: 4.969 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.9894, allocations: 30.8 kB / 0.9552 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.9895, allocations: 55.77 kB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.9895, allocations: 3.938 kB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9895, allocations: 1.25 kB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9895, allocations: 0 / 0.9553 GB, free: 6.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004335/0.99, allocations: 359.1 kB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.99, allocations: 8.781 kB / 0.9556 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.99, allocations: 9.266 kB / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.9901, allocations: 164.3 kB / 0.9558 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.9902, allocations: 5 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.9902, allocations: 0.9688 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.9904, allocations: 63.11 kB / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9904, allocations: 0.9062 kB / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.9904, allocations: 0 / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9904, allocations: 0.9375 kB / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.9906, allocations: 48.55 kB / 0.9559 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.9909, allocations: 248.5 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.991, allocations: 40.06 kB / 0.9562 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.9917, allocations: 473.2 kB / 0.9566 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.9917, allocations: 39.48 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.9917, allocations: 4 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003661/0.9921, allocations: 98.67 kB / 0.9568 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.9921, allocations: 60.36 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.9922, allocations: 94.98 kB / 0.9569 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.9922, allocations: 25.7 kB / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.9923, allocations: 85.33 kB / 0.957 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.9923, allocations: 5.188 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.9923, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.9924, allocations: 316.1 kB / 0.9573 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.9924, allocations: 25.98 kB / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.9925, allocations: 22.23 kB / 0.9574 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.9926, allocations: 21.8 kB / 0.9574 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9926, allocations: 0 / 0.9574 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.9928, allocations: 78.47 kB / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9929, allocations: 5.562 kB / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9929, allocations: 192 / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9929, allocations: 3.938 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.993, allocations: 17.17 kB / 0.9575 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.993, allocations: 3.953 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.993, allocations: 14.25 kB / 0.9575 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9931, allocations: 1.219 kB / 0.9575 GB, free: 4.508 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 (2): * Single equations (assignments): 2 * 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 6.291e-05/0.9931, allocations: 110.9 kB / 0.9576 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.9932, allocations: 1.531 kB / 0.9576 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.9934, allocations: 84.5 kB / 0.9577 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.9934, allocations: 0 / 0.9577 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9934, allocations: 1.188 kB / 0.9577 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9934, allocations: 3.953 kB / 0.9577 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.9936, allocations: 158.4 kB / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9936, allocations: 0 / 0.9579 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.9936, allocations: 16.69 kB / 0.9579 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9936, allocations: 0 / 0.9579 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.9937, allocations: 5.391 kB / 0.9579 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9937, allocations: 0 / 0.9579 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9937, allocations: 0 / 0.9579 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.9939, allocations: 185.4 kB / 0.9581 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.9939, allocations: 77.11 kB / 0.9581 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.9939, allocations: 1.438 kB / 0.9581 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.994, allocations: 9.875 kB / 0.9581 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.9941, allocations: 9.453 kB / 0.9582 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.9941, allocations: 0 / 0.9582 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.9941, allocations: 83.66 kB / 0.9582 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9941, allocations: 0 / 0.9582 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000265/0.9944, allocations: 27.5 kB / 0.9583 GB, free: 3.766 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 (2): * Single equations (assignments): 2 * 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.0002723/0.9947, allocations: 148.6 kB / 0.9584 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.9949, allocations: 41.91 kB / 0.9584 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9949, allocations: 0 / 0.9584 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.995, allocations: 32.33 kB / 0.9585 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.9952, allocations: 6.234 kB / 0.9585 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.9955, allocations: 102.9 kB / 0.9586 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.9956, allocations: 0.6824 MB / 0.9592 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.9956, allocations: 3.984 kB / 0.9592 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.9956, allocations: 12.97 kB / 0.9593 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9956, allocations: 0 / 0.9593 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of Templates: time 0.00341/0.9991, allocations: 0.824 MB / 0.9601 GB, free: 2.367 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches