Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001082/0.001082, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.009172/0.009172, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.944/2.944, allocations: 470.6 MB / 0.7442 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 14.94 kB / 0.9123 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007837/0.338, allocations: 322.8 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005408/0.3386, allocations: 199.4 kB / 1.07 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-06/0.3386, allocations: 0 / 1.07 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.3386, allocations: 8 kB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.3387, allocations: 0 / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.339, allocations: 51.83 kB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.451e-05/0.3391, allocations: 0 / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.3391, allocations: 0 / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.3391, allocations: 0 / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.3392, allocations: 0 / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-06/0.3392, allocations: 4 kB / 1.07 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.3394, allocations: 63.88 kB / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3394, allocations: 7.922 kB / 1.071 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.3395, allocations: 25.7 kB / 1.071 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.3396, allocations: 35.89 kB / 1.071 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3396, allocations: 4 kB / 1.071 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3396, allocations: 0 / 1.071 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3396, allocations: 0 / 1.071 GB, free: 10.65 MB / 0.8262 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.0003578/0.34, allocations: 321.2 kB / 1.071 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.34, allocations: 8.031 kB / 1.071 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3401, allocations: 0.9375 kB / 1.071 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3402, allocations: 160.4 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3402, allocations: 384 / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.3402, allocations: 8.375 kB / 1.071 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.3403, allocations: 26.27 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3404, allocations: 192 / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3404, allocations: 3.938 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3404, allocations: 0 / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.3404, allocations: 7.938 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.3406, allocations: 149.7 kB / 1.071 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.3406, allocations: 14.58 kB / 1.071 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.3407, allocations: 16.94 kB / 1.071 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008396/0.3415, allocations: 461.5 kB / 1.072 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3415, allocations: 38.56 kB / 1.072 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3416, allocations: 4 kB / 1.072 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.3417, allocations: 37.58 kB / 1.072 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3418, allocations: 51.41 kB / 1.072 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3418, allocations: 89.86 kB / 1.072 GB, free: 9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3418, allocations: 29.64 kB / 1.072 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.3419, allocations: 89.78 kB / 1.072 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3419, allocations: 0 / 1.072 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.342, allocations: 13.72 kB / 1.072 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3421, allocations: 315 kB / 1.072 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.3421, allocations: 4 kB / 1.072 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.3421, allocations: 0 / 1.072 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.3422, allocations: 8.859 kB / 1.072 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3422, allocations: 0 / 1.072 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.676e-05/0.3422, allocations: 37.58 kB / 1.072 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3423, allocations: 4 kB / 1.072 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3423, allocations: 7.984 kB / 1.072 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3423, allocations: 3.938 kB / 1.072 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.3424, allocations: 4.094 kB / 1.072 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3424, allocations: 0 / 1.072 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.3424, allocations: 0 / 1.072 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3424, allocations: 0 / 1.072 GB, free: 8.461 MB / 0.8262 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 8.932e-05/0.3425, allocations: 113.8 kB / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.3425, allocations: 0 / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/0.3426, allocations: 44.69 kB / 1.073 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3426, allocations: 0 / 1.073 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3426, allocations: 32 / 1.073 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3426, allocations: 4 kB / 1.073 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.3427, allocations: 149.7 kB / 1.073 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3428, allocations: 0 / 1.073 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.3428, allocations: 0 / 1.073 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3428, allocations: 0 / 1.073 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3428, allocations: 3.938 kB / 1.073 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3428, allocations: 3.984 kB / 1.073 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3428, allocations: 4 kB / 1.073 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.046e-05/0.3429, allocations: 57.05 kB / 1.073 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.343, allocations: 77.11 kB / 1.073 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.343, allocations: 3.938 kB / 1.073 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.343, allocations: 0 / 1.073 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.343, allocations: 7.984 kB / 1.073 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.343, allocations: 4 kB / 1.073 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.3431, allocations: 83.16 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 0 / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002011/0.3433, allocations: 12 kB / 1.073 GB, free: 7.805 MB / 0.8262 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.0002515/0.3435, allocations: 119.3 kB / 1.073 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.3436, allocations: 4 kB / 1.073 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3436, allocations: 0 / 1.073 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.3436, allocations: 4 kB / 1.073 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3438, allocations: 11 kB / 1.073 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.344, allocations: 74.77 kB / 1.073 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3443, allocations: 0.6731 MB / 1.074 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.3444, allocations: 3.984 kB / 1.074 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3444, allocations: 7.438 kB / 1.074 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3444, allocations: 0 / 1.074 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.002977/0.3474, allocations: 409.1 kB / 1.074 GB, free: 6.449 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches