Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001927/0.001927, allocations: 103 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.001983/0.001983, allocations: 191.2 kB / 17.29 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.44 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2428, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001645/0.2445, allocations: 0.5859 MB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.2449, allocations: 207.3 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-06/0.2449, allocations: 4 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.2449, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.245, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.2453, allocations: 51.83 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.2453, allocations: 4 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.2454, allocations: 0 / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.265e-05/0.2454, allocations: 0 / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.054e-05/0.2454, allocations: 3.984 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.2454, allocations: 0 / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2456, allocations: 63.88 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.2456, allocations: 0 / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.2456, allocations: 4 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2458, allocations: 43.88 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2458, allocations: 0 / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2458, allocations: 0 / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2458, allocations: 4 kB / 0.9521 GB, free: 7.082 MB / 0.7325 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.0002647/0.2461, allocations: 316.6 kB / 0.9524 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2461, allocations: 8.031 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.2461, allocations: 0.9375 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.2462, allocations: 164.4 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2462, allocations: 4.375 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2462, allocations: 384 / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/0.2463, allocations: 30.2 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2463, allocations: 192 / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2463, allocations: 3.938 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2464, allocations: 4 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.2464, allocations: 7.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.2465, allocations: 149.6 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.311e-05/0.2465, allocations: 24.72 kB / 0.9527 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.2466, allocations: 4.859 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/0.2472, allocations: 457.5 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2472, allocations: 30.56 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.2473, allocations: 11.98 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001067/0.2474, allocations: 37.58 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.2474, allocations: 51.41 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.17e-05/0.2474, allocations: 97.84 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2475, allocations: 25.7 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.2475, allocations: 80.14 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2475, allocations: 0 / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.2475, allocations: 13.72 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.2476, allocations: 315 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.2476, allocations: 0 / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.2477, allocations: 0 / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.2477, allocations: 16.8 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2477, allocations: 0 / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.082e-05/0.2477, allocations: 33.69 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2478, allocations: 11.94 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2478, allocations: 0 / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2478, allocations: 8.031 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-05/0.2478, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2478, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.2479, allocations: 4 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.2479, allocations: 0 / 0.9539 GB, free: 4.895 MB / 0.7325 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.945e-05/0.2479, allocations: 107.8 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.2479, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.248, allocations: 52.69 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.248, allocations: 4.031 kB / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.248, allocations: 4 kB / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.248, allocations: 0 / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.848e-05/0.2481, allocations: 141.7 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2481, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.2481, allocations: 3.984 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2482, allocations: 4 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2482, allocations: 3.938 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2482, allocations: 3.938 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2482, allocations: 0 / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.513e-05/0.2482, allocations: 57.14 kB / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.2483, allocations: 77.11 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2483, allocations: 15.86 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.2483, allocations: 0 / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-06/0.2483, allocations: 0 / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2483, allocations: 0 / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.2484, allocations: 75.28 kB / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2484, allocations: 0 / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000195/0.2486, allocations: 16.03 kB / 0.9544 GB, free: 4.238 MB / 0.7325 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.0001738/0.2488, allocations: 121.9 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.785e-05/0.2488, allocations: 4 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2488, allocations: 0 / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.2488, allocations: 8.062 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.249, allocations: 0 / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.2491, allocations: 80.92 kB / 0.9546 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2493, allocations: 0.6805 MB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.767e-06/0.2494, allocations: 0 / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.2494, allocations: 7.438 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2494, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.002111/0.2515, allocations: 412.5 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches