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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009948/0.009948, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001985/0.001985, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9903/0.9917, allocations: 140.4 MB / 1.088 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001705/0.9934, allocations: 0.5831 MB / 1.089 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.9939, allocations: 196.7 kB / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.9939, allocations: 0 / 1.089 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.994, allocations: 3.938 kB / 1.089 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.994, allocations: 1.25 kB / 1.089 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.9944, allocations: 56.83 kB / 1.089 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.9944, allocations: 1 kB / 1.089 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.9945, allocations: 5.25 kB / 1.089 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.9945, allocations: 1.234 kB / 1.089 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.533e-05/0.9945, allocations: 4.922 kB / 1.089 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.9945, allocations: 0 / 1.089 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.9947, allocations: 57.81 kB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.9947, allocations: 0.5156 kB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.9948, allocations: 1.188 kB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.9949, allocations: 39.66 kB / 1.089 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9949, allocations: 0.5156 kB / 1.089 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9949, allocations: 0.8438 kB / 1.089 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9949, allocations: 0 / 1.089 GB, free: 5.234 MB / 0.8575 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.000267/0.9952, allocations: 327.5 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9952, allocations: 10 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.9953, allocations: 2 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.9954, allocations: 161.8 kB / 1.089 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9954, allocations: 1.469 kB / 1.089 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.9954, allocations: 4.375 kB / 1.089 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.9955, allocations: 28.83 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9955, allocations: 4.781 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.9955, allocations: 5 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.9955, allocations: 4 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.412e-05/0.9955, allocations: 9.484 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.9957, allocations: 149.2 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.669e-05/0.9957, allocations: 16.34 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.9957, allocations: 9.891 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.9964, allocations: 462.6 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.9964, allocations: 32.39 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9965, allocations: 0 / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.9966, allocations: 39.62 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.9966, allocations: 51.41 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.419e-05/0.9967, allocations: 95.61 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.9967, allocations: 25.7 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.136e-05/0.9967, allocations: 80.14 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.9967, allocations: 5.766 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.9967, allocations: 11.94 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.9968, allocations: 312.2 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.9968, allocations: 1.156 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.9968, allocations: 1.312 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.9968, allocations: 12.25 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9969, allocations: 0 / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.432e-05/0.9969, allocations: 40.44 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9969, allocations: 4.969 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.9969, allocations: 1.031 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.997, allocations: 5 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.997, allocations: 1.094 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.997, allocations: 1.125 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.997, allocations: 0.8438 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.997, allocations: 5.094 kB / 1.091 GB, free: 3.172 MB / 0.8575 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 4.497e-05/0.9971, allocations: 108.1 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.9971, allocations: 0 / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.9972, allocations: 43.95 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.9972, allocations: 0 / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9972, allocations: 0.5625 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.9972, allocations: 0.875 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.57e-05/0.9973, allocations: 152.6 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9973, allocations: 0 / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.9973, allocations: 6.062 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9973, allocations: 1.75 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.9973, allocations: 3.938 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.9973, allocations: 0 / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9973, allocations: 5.719 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.668e-05/0.9974, allocations: 60.52 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.9974, allocations: 78.77 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.9974, allocations: 4.594 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.9974, allocations: 5.094 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.9974, allocations: 0.5156 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.9974, allocations: 5.5 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.586e-05/0.9975, allocations: 75.28 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9975, allocations: 3.938 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002378/0.9977, allocations: 16.16 kB / 1.091 GB, free: 2.551 MB / 0.8575 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.0002162/0.9979, allocations: 116 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.998, allocations: 5.297 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.998, allocations: 0 / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.998, allocations: 2.859 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.9982, allocations: 1.125 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.9983, allocations: 84.53 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.9985, allocations: 0.6755 MB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.071e-05/0.9985, allocations: 1.344 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.138e-05/0.9985, allocations: 7.438 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9985, allocations: 0 / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of Templates: time 0.002554/1.001, allocations: 415.4 kB / 1.093 GB, free: 1.582 MB / 0.8575 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 -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/jenkins/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