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.00107/0.00107, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001077/0.001077, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.52 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002848/0.2739, allocations: 1.429 MB / 0.9525 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.2746, allocations: 365.8 kB / 0.9529 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.2746, allocations: 7.938 kB / 0.9529 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.2746, allocations: 3.938 kB / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.2747, allocations: 0 / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.2752, allocations: 107.6 kB / 0.953 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.2753, allocations: 23.98 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.2754, allocations: 3.984 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.2755, allocations: 12 kB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.2755, allocations: 15.92 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2755, allocations: 4 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.2758, allocations: 127.7 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2758, allocations: 7.938 kB / 0.9532 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2758, allocations: 15.92 kB / 0.9532 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.276, allocations: 83.81 kB / 0.9533 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.276, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.62e-07/0.276, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.276, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7325 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.0004499/0.2765, allocations: 359.4 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2765, allocations: 11.97 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.2766, allocations: 4.938 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2767, allocations: 168.3 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2767, allocations: 384 / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2767, allocations: 384 / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2769, allocations: 50.23 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2769, allocations: 4.172 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2769, allocations: 3.938 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2769, allocations: 8 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.2771, allocations: 27.97 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.2774, allocations: 252.9 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.2776, allocations: 38.5 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.2776, allocations: 28.91 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007479/0.2784, allocations: 465.4 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2784, allocations: 42.56 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2784, allocations: 0 / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.2788, allocations: 77.58 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2789, allocations: 51.41 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.2789, allocations: 101.9 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.279, allocations: 33.77 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.279, allocations: 84.12 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.279, allocations: 7.906 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.2791, allocations: 13.72 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.2792, allocations: 310.8 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.2793, allocations: 15.98 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.2793, allocations: 19.97 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2795, allocations: 40.89 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2795, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.2797, allocations: 73.53 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2797, allocations: 9.875 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2797, allocations: 3.984 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2797, allocations: 0 / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.2798, allocations: 12.02 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2798, allocations: 0 / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.2799, allocations: 7.906 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.2799, allocations: 7.938 kB / 0.9555 GB, free: 3.289 MB / 0.7325 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 7.194e-05/0.28, allocations: 113.8 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.28, allocations: 0 / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.2802, allocations: 80.72 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2803, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2803, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2803, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2804, allocations: 157.6 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2804, allocations: 0 / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.2805, allocations: 15.98 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2805, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2805, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2805, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2805, allocations: 4.031 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2808, allocations: 163.5 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2808, allocations: 81.05 kB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2809, allocations: 7.984 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.2809, allocations: 0 / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.281, allocations: 11.97 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.281, allocations: 3.984 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.2811, allocations: 87.22 kB / 0.9562 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2811, allocations: 0 / 0.9562 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002793/0.2814, allocations: 28 kB / 0.9562 GB, free: 2.449 MB / 0.7325 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.0002743/0.2816, allocations: 131.6 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.2819, allocations: 35.95 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2819, allocations: 4 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.2819, allocations: 15.98 kB / 0.9564 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2822, allocations: 12.06 kB / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.2826, allocations: 113.4 kB / 0.9565 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2829, allocations: 0.6805 MB / 0.9572 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.2829, allocations: 4 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.2829, allocations: 7.438 kB / 0.9572 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.283, allocations: 0 / 0.9572 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of Templates: time 0.003698/0.2867, allocations: 0.8993 MB / 0.9581 GB, free: 0.4922 MB / 0.7325 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches