Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009607, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007845/0.007845, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003701, allocations: 12 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7445, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007737/0.7453, allocations: 317.4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.7458, allocations: 195.4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.7458, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.7459, allocations: 8 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.7459, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.7462, allocations: 31.89 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.827e-05/0.7463, allocations: 8 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.7463, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.7463, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.087e-05/0.7464, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.184e-06/0.7464, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.7466, allocations: 67.88 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.7466, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.7466, allocations: 37.62 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.7468, allocations: 31.95 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7468, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7468, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.7468, allocations: 0 / 1.024 GB, free: 15.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000268/0.7471, allocations: 315.6 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7471, allocations: 12.03 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.7471, allocations: 4.875 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.7472, allocations: 164.4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.7473, allocations: 384 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.7473, allocations: 4.375 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.7474, allocations: 34.2 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7474, allocations: 192 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.7474, allocations: 3.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.7474, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.7474, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.7476, allocations: 145.7 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.7476, allocations: 22.56 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.7477, allocations: 8.859 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.7483, allocations: 453.5 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7484, allocations: 34.56 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7484, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.7485, allocations: 49.53 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.7485, allocations: 51.41 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.142e-05/0.7486, allocations: 89.86 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.7486, allocations: 25.7 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.7486, allocations: 80.14 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.7486, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.7487, allocations: 13.66 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.7488, allocations: 314.8 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.7488, allocations: 8.125 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.7488, allocations: 3.938 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.7488, allocations: 8.859 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7488, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.497e-05/0.7489, allocations: 33.69 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7489, allocations: 4 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7489, allocations: 3.984 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.7489, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.625e-05/0.749, allocations: 8.094 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.749, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-06/0.749, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.749, allocations: 0 / 1.026 GB, free: 12.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.7491, allocations: 114.3 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.7491, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.7492, allocations: 40.75 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.7492, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7492, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.7492, allocations: 4.031 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.298e-05/0.7493, allocations: 145.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7493, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.7493, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.7493, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.7493, allocations: 3.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7493, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7493, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.933e-05/0.7494, allocations: 65.08 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.7494, allocations: 81.09 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.7494, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.7495, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.7495, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.7495, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.7495, allocations: 75.28 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7495, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001903/0.7497, allocations: 12 kB / 1.026 GB, free: 12.34 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 (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.0002165/0.7499, allocations: 131.2 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.657e-05/0.75, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.75, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.75, allocations: 7.938 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.7502, allocations: 128 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.7503, allocations: 78.66 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7507, allocations: 0.6692 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.492e-05/0.7507, allocations: 4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.7507, allocations: 7.438 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7507, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002341/0.753, allocations: 396.4 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches