Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 208 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.581/1.581, 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 11.0.0-master/package.mo): time 2.812/2.812, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.8955, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001695/0.8972, allocations: 1.157 MB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.8978, allocations: 228.3 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.8978, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.8978, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.8979, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.8982, allocations: 43.88 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.8983, allocations: 8 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.8984, allocations: 7.984 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.8984, allocations: 8 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.8985, allocations: 11.91 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.8985, allocations: 8 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.8986, allocations: 59.89 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.8986, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.8987, allocations: 29.7 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.8988, allocations: 31.92 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.8988, allocations: 3.938 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8988, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8988, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.7794 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.0004659/0.8993, allocations: 353.3 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8993, allocations: 11.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.8994, allocations: 7.938 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8995, allocations: 159.1 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.8995, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.8995, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8997, allocations: 61.62 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8998, allocations: 8 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8998, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8998, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.9, allocations: 43.95 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.9003, allocations: 260.8 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.9004, allocations: 38.59 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/0.9011, allocations: 461.4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.9011, allocations: 30.56 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.9012, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003754/0.9015, allocations: 105.6 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.9016, allocations: 51.41 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.9017, allocations: 105.8 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.9017, allocations: 25.7 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.9017, allocations: 80.14 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.9018, allocations: 7.906 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9018, allocations: 4.125 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9019, allocations: 322.8 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.902, allocations: 15.98 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.9021, allocations: 27.92 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.9022, allocations: 24.05 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9022, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.9024, allocations: 81.55 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9024, allocations: 8.031 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9024, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.9024, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.9025, allocations: 11.98 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.9025, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.9026, allocations: 8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.9026, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 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 7.187e-05/0.9027, allocations: 117.8 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.9027, allocations: 3.953 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.9029, allocations: 80.78 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9029, allocations: 3.938 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9029, allocations: 4.031 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.903, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.9031, allocations: 153.7 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9031, allocations: 3.984 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.9032, allocations: 11.94 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.9032, allocations: 7.953 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.9032, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9032, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9032, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.9035, allocations: 171.4 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.9035, allocations: 85.09 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.9035, allocations: 7.953 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.9036, allocations: 8.031 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.9037, allocations: 3.984 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.9037, allocations: 8 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.9037, allocations: 75.28 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9037, allocations: 7.938 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002273/0.9039, allocations: 16 kB / 1.025 GB, free: 12.06 MB / 0.7794 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.0002142/0.9042, allocations: 123.2 kB / 1.025 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.9044, allocations: 43.97 kB / 1.025 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9044, allocations: 4 kB / 1.025 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.9045, allocations: 27.97 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.9047, allocations: 5.5 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.9049, allocations: 100.7 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.9052, allocations: 0.6848 MB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.9052, allocations: 8 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.9052, allocations: 11.44 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9052, allocations: 0 / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of Templates: time 0.003099/0.9084, allocations: 0.5724 MB / 1.027 GB, free: 10.43 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches