Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_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_10_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.0009364/0.0009364, allocations: 90.67 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.001119/0.001119, allocations: 172.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.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.931/2.931, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005346, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8428, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008618/0.8437, allocations: 317.4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005704/0.8443, allocations: 175.6 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.8444, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.8444, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-06/0.8444, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.8449, allocations: 47.78 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.8449, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.845, allocations: 7.922 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.845, allocations: 3.984 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.227e-05/0.8451, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.8451, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.8453, allocations: 59.89 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.8454, allocations: 4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.8454, allocations: 25.7 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.8455, allocations: 23.95 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8455, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.11e-06/0.8455, allocations: 3.984 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.8455, allocations: 3.938 kB / 1.023 GB, free: 15.39 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.0003403/0.8459, allocations: 319.4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8459, allocations: 8.562 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.846, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.8461, allocations: 163 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.8462, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.8462, allocations: 3.984 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.8463, allocations: 33.64 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8463, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8464, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8464, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.8464, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.8466, allocations: 145.7 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.8467, allocations: 22.55 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.8467, allocations: 8.844 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009133/0.8476, allocations: 461.5 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8477, allocations: 34.52 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.8477, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.8478, allocations: 37.59 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.8479, allocations: 51.41 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.8479, allocations: 89.86 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.848, allocations: 29.64 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.848, allocations: 84.27 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.848, allocations: 8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.848, allocations: 3.938 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8482, allocations: 310.8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.8482, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.8482, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.016e-05/0.8482, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8482, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.275e-05/0.8483, allocations: 37.75 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.8483, allocations: 5.25 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8483, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8484, allocations: 7.953 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.8484, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8484, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.8485, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.8485, allocations: 0 / 1.025 GB, free: 13.24 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.936e-05/0.8486, allocations: 117.8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.8486, allocations: 8.016 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.8487, allocations: 32.83 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8487, allocations: 3.953 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8487, allocations: 3.938 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8487, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.8489, allocations: 145.7 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8489, allocations: 4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.8489, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8489, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.8489, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8489, allocations: 4.031 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8489, allocations: 3.953 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.535e-05/0.849, allocations: 65.06 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.8491, allocations: 77.11 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.8491, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.8491, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.8491, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.8491, allocations: 11.98 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.8492, allocations: 75.28 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8492, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000245/0.8494, allocations: 16 kB / 1.025 GB, free: 12.58 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.0002555/0.8497, allocations: 123.2 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.8498, allocations: 8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8498, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.8498, allocations: 7.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.85, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.8502, allocations: 74.66 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.8505, allocations: 0.6692 MB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.8506, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.8506, allocations: 7.438 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8506, allocations: 4.125 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.003262/0.8539, allocations: 407.8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches