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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 106.4 kB / 16.37 MB, free: 6.434 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.00116/0.00116, allocations: 189.1 kB / 17.3 MB, free: 5.773 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.209/2.209, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.86 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001518/0.2486, allocations: 0.5886 MB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.249, allocations: 197.7 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.087e-05/0.249, allocations: 4 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.249, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.2491, allocations: 3.938 kB / 1.028 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.2494, allocations: 61.08 kB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.097e-05/0.2494, allocations: 3.984 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.2495, allocations: 0 / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.084e-05/0.2495, allocations: 0 / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.689e-05/0.2495, allocations: 4 kB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.2495, allocations: 0 / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2497, allocations: 59.88 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-06/0.2497, allocations: 7.984 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.2497, allocations: 4 kB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.444e-05/0.2498, allocations: 35.94 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2498, allocations: 0 / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2498, allocations: 0 / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.2498, allocations: 0 / 1.028 GB, free: 1.145 MB / 0.795 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.0002523/0.2501, allocations: 315.6 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2501, allocations: 12.03 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.2501, allocations: 0.9375 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.2502, allocations: 164.4 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2502, allocations: 4.375 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2502, allocations: 4.312 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.2503, allocations: 30.27 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2503, allocations: 192 / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2504, allocations: 7.875 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2504, allocations: 3.984 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.2504, allocations: 4 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.2505, allocations: 153.7 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.2505, allocations: 18.58 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.2506, allocations: 4.859 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.2512, allocations: 461.5 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2512, allocations: 38.5 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2513, allocations: 0 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001023/0.2514, allocations: 37.58 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.2514, allocations: 51.41 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.2514, allocations: 89.86 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2514, allocations: 25.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.2515, allocations: 84.12 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2515, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.2515, allocations: 17.84 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.2516, allocations: 314.8 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.2516, allocations: 0 / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-06/0.2516, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.2517, allocations: 8.797 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2517, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.06e-05/0.2517, allocations: 33.7 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2517, allocations: 4 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2518, allocations: 4.094 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2518, allocations: 3.938 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.2518, allocations: 7.984 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2518, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.2518, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2518, allocations: 4 kB / 1.03 GB, free: 14.95 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 (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 5.922e-05/0.2519, allocations: 109.8 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.2519, allocations: 4 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.252, allocations: 44.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.252, allocations: 3.984 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.252, allocations: 3.938 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.252, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.2521, allocations: 145.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.2521, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2521, allocations: 3.938 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2521, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.2522, allocations: 65.09 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.2522, allocations: 81.02 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.2522, allocations: 7.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.2522, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.2523, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.2523, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.2523, allocations: 79.28 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2523, allocations: 7.969 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001874/0.2525, allocations: 15.98 kB / 1.03 GB, free: 14.27 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 (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.000158/0.2526, allocations: 111.2 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.041e-05/0.2527, allocations: 7.984 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2527, allocations: 64 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.2527, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.2528, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001343/0.253, allocations: 81.02 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2532, allocations: 0.669 MB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.2532, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-06/0.2532, allocations: 7.438 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2532, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of Templates: time 0.001903/0.2551, allocations: 416.4 kB / 1.031 GB, free: 12.92 MB / 0.8106 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches