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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008968/0.0008968, allocations: 90.83 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.006401/0.006402, allocations: 171 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.402/1.402, 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.0.1-master/package.mo): time 2.827/2.827, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 13.22 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.000943/0.3311, allocations: 326.9 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.3318, allocations: 203.4 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.3318, allocations: 3.938 kB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3319, allocations: 0 / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-06/0.3319, allocations: 0 / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.3323, allocations: 39.95 kB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.3323, allocations: 4 kB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.3324, allocations: 3.938 kB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.3324, allocations: 4 kB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.3324, allocations: 4 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.3324, allocations: 3.938 kB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3327, allocations: 67.86 kB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.3327, allocations: 3.938 kB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.3327, allocations: 25.7 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3328, allocations: 31.95 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3328, allocations: 0 / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3328, allocations: 0 / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3329, allocations: 0 / 1.059 GB, free: 4.77 MB / 0.8106 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.0003073/0.3332, allocations: 327.5 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3332, allocations: 8.031 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.3332, allocations: 0.9375 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.3333, allocations: 164.4 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3334, allocations: 4.375 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3334, allocations: 4.359 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.3335, allocations: 30.2 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.3335, allocations: 192 / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.3335, allocations: 3.938 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3335, allocations: 4 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.3335, allocations: 4 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.3337, allocations: 149.7 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.3337, allocations: 18.61 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.3337, allocations: 4.859 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.3345, allocations: 461.5 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3346, allocations: 42.5 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.3346, allocations: 0 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.3347, allocations: 37.62 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3348, allocations: 51.41 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.361e-05/0.3348, allocations: 93.98 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.3349, allocations: 29.64 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3349, allocations: 80.14 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.335, allocations: 0 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.335, allocations: 13.72 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3351, allocations: 314.8 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.3351, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.3351, allocations: 3.938 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.3352, allocations: 16.91 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3352, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.566e-05/0.3353, allocations: 29.7 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3353, allocations: 8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3353, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3353, allocations: 3.938 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.3354, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3354, allocations: 3.938 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.3354, allocations: 0 / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3354, allocations: 4 kB / 1.061 GB, free: 2.574 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 8.704e-05/0.3355, allocations: 119.4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.3355, allocations: 0 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.3356, allocations: 40.7 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3356, allocations: 0 / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3356, allocations: 0 / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3356, allocations: 0 / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3357, allocations: 149.7 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3358, allocations: 0 / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.3358, allocations: 0 / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3358, allocations: 4.031 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.3358, allocations: 3.938 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3358, allocations: 4 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3358, allocations: 0 / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.062e-05/0.3359, allocations: 61.06 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3359, allocations: 77.11 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.336, allocations: 7.938 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.336, allocations: 4.031 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.336, allocations: 0 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.336, allocations: 0 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.336, allocations: 79.22 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.336, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002053/0.3362, allocations: 16 kB / 1.062 GB, free: 1.922 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.0002239/0.3365, allocations: 123.2 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.647e-05/0.3365, allocations: 4 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3365, allocations: 0 / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.3366, allocations: 7.938 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3367, allocations: 3.594 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.3369, allocations: 78.66 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3371, allocations: 0.6731 MB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.245e-05/0.3371, allocations: 8.125 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.3372, allocations: 11.44 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3372, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of Templates: time 0.002701/0.3399, allocations: 408.4 kB / 1.063 GB, free: 0.5547 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 -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/jenkins/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