Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001411/0.001411, allocations: 168.7 kB / 15.95 MB, free: 204 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.277 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.442/2.442, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8951, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001325/0.8965, allocations: 1.142 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.8971, allocations: 318.7 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.8971, allocations: 0 / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.8972, allocations: 1.156 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.8972, allocations: 7.938 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.8976, allocations: 73.55 kB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.8976, allocations: 18.92 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.8977, allocations: 7.031 kB / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.8977, allocations: 6.188 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.8978, allocations: 10.53 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.8978, allocations: 1.438 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.898, allocations: 129.2 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.898, allocations: 0 / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.8981, allocations: 35.03 kB / 0.9561 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.8982, allocations: 55.19 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8982, allocations: 5.344 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8982, allocations: 0 / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.8982, allocations: 3.938 kB / 0.9562 GB, free: 6.309 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.0003565/0.8986, allocations: 357.7 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8986, allocations: 8.5 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.8986, allocations: 5.422 kB / 0.9566 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.8987, allocations: 168.5 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.8987, allocations: 1.375 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.8988, allocations: 1.406 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.8989, allocations: 57.66 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8989, allocations: 4 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.8989, allocations: 0 / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.899, allocations: 1.25 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.8991, allocations: 48.05 kB / 0.9568 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.8994, allocations: 256.8 kB / 0.9571 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.8995, allocations: 39.59 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.8996, allocations: 25.05 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.9001, allocations: 464.4 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9002, allocations: 30.56 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9002, allocations: 1.062 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000335/0.9005, allocations: 110.8 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.9005, allocations: 51.41 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.9006, allocations: 98.64 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.9006, allocations: 35.09 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.9007, allocations: 80.14 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.9007, allocations: 5 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.9007, allocations: 1.125 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.9007, allocations: 316 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.9008, allocations: 17.02 kB / 0.9583 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.181e-05/0.9009, allocations: 30.78 kB / 0.9583 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.901, allocations: 17.86 kB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.901, allocations: 0 / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.9012, allocations: 78.08 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9012, allocations: 9.484 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9012, allocations: 0 / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9012, allocations: 1.156 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.9013, allocations: 20.11 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9013, allocations: 0 / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.9014, allocations: 14.48 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.9014, allocations: 0.8438 kB / 0.9584 GB, free: 4.012 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 5.981e-05/0.9015, allocations: 107.1 kB / 0.9586 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.9015, allocations: 1.375 kB / 0.9586 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.9017, allocations: 100.5 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.9017, allocations: 0 / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9017, allocations: 4.984 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9017, allocations: 0 / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.9019, allocations: 154 kB / 0.9588 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9019, allocations: 1.188 kB / 0.9588 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.9019, allocations: 11.48 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9019, allocations: 1.25 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.902, allocations: 4.031 kB / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.902, allocations: 0.9688 kB / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.902, allocations: 0 / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.9022, allocations: 181.3 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.9022, allocations: 77.11 kB / 0.9591 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.9022, allocations: 1.188 kB / 0.9591 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.9023, allocations: 9.672 kB / 0.9591 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.9023, allocations: 5.125 kB / 0.9591 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.9024, allocations: 1.156 kB / 0.9591 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.822e-05/0.9024, allocations: 86.47 kB / 0.9592 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9024, allocations: 0 / 0.9592 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002648/0.9027, allocations: 39.98 kB / 0.9592 GB, free: 3.258 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.0002482/0.9029, allocations: 136.7 kB / 0.9593 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.9031, allocations: 50.95 kB / 0.9594 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.9031, allocations: 0 / 0.9594 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.9032, allocations: 19.73 kB / 0.9594 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.9035, allocations: 11.67 kB / 0.9594 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.9037, allocations: 110.3 kB / 0.9595 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.9038, allocations: 0.6736 MB / 0.9602 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.9039, allocations: 5.422 kB / 0.9602 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.9039, allocations: 7.438 kB / 0.9602 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9039, allocations: 1.5 kB / 0.9602 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.003069/0.907, allocations: 0.8118 MB / 0.961 GB, free: 1.879 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches