Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001164/0.001164, allocations: 191 kB / 17.29 MB, free: 5.516 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.195/2.195, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 70.28 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2509, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002177/0.2532, allocations: 1.454 MB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.2536, allocations: 236.1 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.2536, allocations: 0 / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.2537, allocations: 3.938 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.191e-05/0.2537, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.254, allocations: 63.75 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.254, allocations: 23.92 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.2541, allocations: 11.98 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.2542, allocations: 8 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.2542, allocations: 11.92 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2542, allocations: 4 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2543, allocations: 59.88 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.2544, allocations: 7.984 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.2544, allocations: 7.938 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2545, allocations: 51.86 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2545, allocations: 4 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2545, allocations: 0 / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2545, allocations: 4 kB / 1.029 GB, free: 176 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.0003765/0.2549, allocations: 343.5 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.2549, allocations: 8.031 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.255, allocations: 4.844 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.2551, allocations: 168.4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2551, allocations: 384 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.2551, allocations: 4.312 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2552, allocations: 54.23 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.2552, allocations: 192 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2553, allocations: 3.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.2553, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2554, allocations: 31.97 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.2557, allocations: 249 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2558, allocations: 42.44 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.2559, allocations: 24.91 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.2564, allocations: 453.5 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2564, allocations: 34.56 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2564, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002821/0.2567, allocations: 73.64 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2568, allocations: 55.41 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.2568, allocations: 101.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2569, allocations: 29.77 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.2569, allocations: 96.03 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.2569, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.2569, allocations: 13.72 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.257, allocations: 314.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.2571, allocations: 11.98 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.2572, allocations: 23.97 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.2573, allocations: 40.83 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2573, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.2575, allocations: 69.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2575, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.2575, allocations: 7.938 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.2575, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.2576, allocations: 12.02 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.2576, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.2577, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2577, allocations: 0 / 1.031 GB, free: 13.61 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 5.695e-05/0.2577, allocations: 121.7 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2578, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.258, allocations: 72.78 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.258, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.258, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.258, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2581, allocations: 161.6 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2581, allocations: 192 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.2582, allocations: 15.92 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2582, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2582, allocations: 3.984 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2582, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2582, allocations: 4.031 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.2584, allocations: 163.5 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.2584, allocations: 84.95 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2585, allocations: 3.984 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.2585, allocations: 4 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2586, allocations: 8.031 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.2586, allocations: 3.984 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.2586, allocations: 83.28 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2586, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002141/0.2588, allocations: 12 kB / 1.031 GB, free: 12.78 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.0001575/0.259, allocations: 123.2 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2592, allocations: 39.91 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2592, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.2593, allocations: 31.84 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2595, allocations: 3.938 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.2597, allocations: 101.7 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2599, allocations: 0.6768 MB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.2599, allocations: 0 / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.2599, allocations: 7.438 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2599, allocations: 0 / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of Templates: time 0.002343/0.2623, allocations: 0.6664 MB / 1.033 GB, free: 11.08 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches