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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 172.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 87.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3986, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.436, allocations: 149.5 MB / 1.365 GB, free: 4.574 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.436, allocations: 74.14 kB / 1.365 GB, free: 4.531 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003575/1.44, allocations: 1.285 MB / 1.366 GB, free: 3.414 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.44, allocations: 4 kB / 1.366 GB, free: 3.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.44, allocations: 0 / 1.366 GB, free: 3.41 MB / 0.823 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.0002753/1.44, allocations: 325.3 kB / 1.366 GB, free: 3.051 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.44, allocations: 12.03 kB / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/1.44, allocations: 0 / 1.366 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.44, allocations: 167 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.44, allocations: 4 kB / 1.367 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/1.44, allocations: 0 / 1.367 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/1.44, allocations: 33.64 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.44, allocations: 0 / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/1.44, allocations: 0 / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.44, allocations: 0 / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/1.44, allocations: 0 / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/1.441, allocations: 149.6 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/1.441, allocations: 26.55 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/1.441, allocations: 4.859 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/1.441, allocations: 445 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.441, allocations: 38.5 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.441, allocations: 0 / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/1.441, allocations: 36 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.442, allocations: 51.41 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/1.442, allocations: 89 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/1.442, allocations: 25.7 kB / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/1.442, allocations: 80.14 kB / 1.367 GB, free: 1.684 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/1.442, allocations: 4.562 kB / 1.367 GB, free: 1.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/1.442, allocations: 0 / 1.367 GB, free: 1.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.442, allocations: 316.8 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/1.442, allocations: 3.938 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/1.442, allocations: 4 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.945e-05/1.442, allocations: 3.953 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.442, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/1.442, allocations: 35.69 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.442, allocations: 8 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.442, allocations: 0 / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.442, allocations: 96 / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/1.442, allocations: 4 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.442, allocations: 0 / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/1.442, allocations: 7.938 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/1.442, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 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 () * 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 6.695e-05/1.442, allocations: 104.9 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/1.442, allocations: 3.984 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/1.442, allocations: 48.53 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.442, allocations: 0 / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.442, allocations: 4.031 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.442, allocations: 4 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/1.442, allocations: 141.7 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.442, allocations: 3.953 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/1.442, allocations: 0 / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.442, allocations: 0 / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.442, allocations: 7.984 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.442, allocations: 0 / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.442, allocations: 0 / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.97e-05/1.443, allocations: 60.83 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/1.443, allocations: 81.06 kB / 1.368 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/1.443, allocations: 4 kB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/1.443, allocations: 3.984 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/1.443, allocations: 0 / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.443, allocations: 0 / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.293e-05/1.443, allocations: 75.28 kB / 1.368 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.443, allocations: 0 / 1.368 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002207/1.443, allocations: 23.94 kB / 1.368 GB, free: 0.6484 MB / 0.823 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 () * 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.0003071/1.443, allocations: 135 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.414e-05/1.443, allocations: 4 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.443, allocations: 0 / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/1.443, allocations: 12 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.274e-05/1.443, allocations: 4.625 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/1.444, allocations: 48.98 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.444, allocations: 0.6692 MB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.495e-05/1.444, allocations: 4.875 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/1.444, allocations: 7.438 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.444, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.002222/1.446, allocations: 391.2 kB / 1.37 GB, free: 15.34 MB / 0.8386 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