Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.0009243/0.0009243, allocations: 196.3 kB / 17.3 MB, free: 5.48 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.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.216/2.216, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.25 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002275/0.2511, allocations: 1.445 MB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004655/0.2516, allocations: 252 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.2516, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2517, allocations: 3.938 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.2517, allocations: 3.938 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.252, allocations: 59.83 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.2521, allocations: 27.91 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.404e-05/0.2521, allocations: 11.98 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.2522, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.2522, allocations: 15.92 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2522, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2524, allocations: 51.95 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2524, allocations: 7.984 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.2524, allocations: 11.92 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2525, allocations: 55.81 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2526, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2526, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2526, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 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.0004429/0.253, allocations: 347.5 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2531, allocations: 11.97 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2531, allocations: 8.844 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2532, allocations: 160.4 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2532, allocations: 384 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2533, allocations: 4.375 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2534, allocations: 50.22 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2535, allocations: 4.188 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2535, allocations: 7.938 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2535, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2536, allocations: 35.89 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.2539, allocations: 245 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2541, allocations: 42.5 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.2542, allocations: 24.89 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.2548, allocations: 453.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2549, allocations: 38.55 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2549, allocations: 3.938 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.2552, allocations: 77.66 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2553, allocations: 55.39 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.2553, allocations: 97.86 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2554, allocations: 29.7 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.2554, allocations: 88.17 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2554, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2555, allocations: 17.7 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2556, allocations: 314.8 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.2557, allocations: 19.86 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.2557, allocations: 19.98 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2559, allocations: 44.81 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2559, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.256, allocations: 69.52 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2561, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2561, allocations: 3.984 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2561, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.2562, allocations: 8.031 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2562, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.2562, allocations: 7.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2562, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/0.2563, allocations: 125.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.2564, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.2566, allocations: 72.72 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2567, allocations: 7.984 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2567, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2567, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2568, allocations: 157.6 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2568, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.2569, allocations: 11.98 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2569, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2569, allocations: 4 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2569, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2569, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2571, allocations: 167.4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.2572, allocations: 84.95 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2572, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.2573, allocations: 7.984 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2573, allocations: 8 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.2573, allocations: 4.031 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.2573, allocations: 87.44 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2573, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002236/0.2576, allocations: 12 kB / 1.032 GB, free: 12.67 MB / 0.8106 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 (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.0001776/0.2578, allocations: 111.2 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2579, allocations: 43.89 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.258, allocations: 8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.258, allocations: 15.92 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2583, allocations: 7.938 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.2585, allocations: 97.62 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2587, allocations: 0.6846 MB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.2587, allocations: 4 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2588, allocations: 11.44 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2588, allocations: 0 / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of Templates: time 0.002646/0.2614, allocations: 0.6602 MB / 1.033 GB, free: 10.98 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches