Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 99.78 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.001975/0.001975, 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.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003884, allocations: 12 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.8685, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.000807/0.8694, allocations: 325.3 kB / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.8698, allocations: 171.6 kB / 1.021 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.8699, allocations: 0 / 1.021 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.8699, allocations: 3.938 kB / 1.021 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-06/0.8699, allocations: 0 / 1.021 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.8703, allocations: 43.83 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.8704, allocations: 0 / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.8704, allocations: 4 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.8704, allocations: 4 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.8705, allocations: 0 / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.8705, allocations: 0 / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.8707, allocations: 67.86 kB / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.8707, allocations: 0 / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.8708, allocations: 25.7 kB / 1.021 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.8709, allocations: 23.95 kB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8709, allocations: 3.938 kB / 1.021 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8709, allocations: 0 / 1.021 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8709, allocations: 4 kB / 1.021 GB, free: 416 kB / 0.7637 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.0003327/0.8712, allocations: 319.4 kB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8713, allocations: 8.031 kB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.8713, allocations: 0 / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.8714, allocations: 159.1 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.8715, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.8715, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.8716, allocations: 33.66 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8716, allocations: 3.938 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8716, allocations: 4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8716, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.8717, allocations: 3.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.8718, allocations: 149.7 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.8719, allocations: 14.58 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/0.8727, allocations: 465.5 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8728, allocations: 30.56 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8728, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.8729, allocations: 37.59 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.873, allocations: 51.41 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.873, allocations: 93.84 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.8731, allocations: 25.83 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.8731, allocations: 88.14 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.8731, allocations: 7.906 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.8731, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8733, allocations: 310.8 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.8733, allocations: 0 / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-06/0.8733, allocations: 0 / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.68e-05/0.8733, allocations: 4 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8734, allocations: 3.938 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.749e-05/0.8734, allocations: 37.7 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8734, allocations: 4 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8734, allocations: 7.984 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8735, allocations: 3.953 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.8735, allocations: 3.938 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8735, allocations: 0 / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-06/0.8735, allocations: 0 / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.8735, allocations: 0 / 1.023 GB, free: 14.27 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 (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 8.623e-05/0.8736, allocations: 113.8 kB / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.8737, allocations: 8.031 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.23e-05/0.8737, allocations: 40.75 kB / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.8738, allocations: 0 / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8738, allocations: 3.953 kB / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.8738, allocations: 0 / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.8739, allocations: 145.7 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8739, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-06/0.8739, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.8739, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.8739, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8739, allocations: 8.016 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8739, allocations: 4 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.147e-05/0.874, allocations: 57.09 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.874, allocations: 77.11 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.8741, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.8741, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.8741, allocations: 7.984 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.8741, allocations: 4.031 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.8742, allocations: 83.17 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8742, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002123/0.8744, allocations: 20 kB / 1.024 GB, free: 13.61 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 (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.0002322/0.8746, allocations: 115.2 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.845e-05/0.8747, allocations: 8 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8747, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/0.8747, allocations: 4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.994e-05/0.8748, allocations: 3.938 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.875, allocations: 72.67 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.8753, allocations: 0.6809 MB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.125e-05/0.8753, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.8753, allocations: 7.438 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8753, allocations: 4.125 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.00245/0.8778, allocations: 403.7 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches