Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 106.7 kB / 16.39 MB, free: 6.496 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.001194/0.001194, allocations: 192.2 kB / 17.32 MB, free: 5.777 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.7 MB / 0.7167 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 153 MB / 1.177 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003375/1.041, allocations: 1.44 MB / 1.178 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006141/1.042, allocations: 243.3 kB / 1.178 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/1.042, allocations: 3.938 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/1.042, allocations: 0 / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/1.042, allocations: 7.922 kB / 1.178 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/1.042, allocations: 67.81 kB / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/1.042, allocations: 16 kB / 1.178 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/1.042, allocations: 7.984 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/1.042, allocations: 11.98 kB / 1.178 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/1.042, allocations: 7.922 kB / 1.179 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/1.042, allocations: 7.938 kB / 1.179 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/1.043, allocations: 55.95 kB / 1.179 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/1.043, allocations: 7.984 kB / 1.179 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/1.043, allocations: 3.938 kB / 1.179 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/1.043, allocations: 55.86 kB / 1.179 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.043, allocations: 7.938 kB / 1.179 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.497e-06/1.043, allocations: 0 / 1.179 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.043, allocations: 3.938 kB / 1.179 GB, free: 8.828 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004923/1.043, allocations: 347.3 kB / 1.179 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.043, allocations: 8.031 kB / 1.179 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/1.044, allocations: 0.9375 kB / 1.179 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/1.044, allocations: 168.4 kB / 1.179 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/1.044, allocations: 384 / 1.179 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/1.044, allocations: 4.375 kB / 1.179 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.044, allocations: 50.23 kB / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.044, allocations: 192 / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.044, allocations: 3.938 kB / 1.179 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.044, allocations: 0 / 1.179 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/1.044, allocations: 31.97 kB / 1.179 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/1.045, allocations: 256.8 kB / 1.179 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.045, allocations: 38.5 kB / 1.18 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/1.045, allocations: 24.91 kB / 1.18 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/1.045, allocations: 453.5 kB / 1.18 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.046, allocations: 34.56 kB / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.046, allocations: 0 / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003797/1.046, allocations: 81.58 kB / 1.18 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.046, allocations: 51.53 kB / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/1.046, allocations: 101.9 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.046, allocations: 29.7 kB / 1.18 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/1.046, allocations: 84.12 kB / 1.18 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.046, allocations: 7.906 kB / 1.18 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/1.046, allocations: 13.72 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.046, allocations: 314.8 kB / 1.181 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/1.046, allocations: 15.98 kB / 1.181 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/1.046, allocations: 23.97 kB / 1.181 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/1.047, allocations: 36.83 kB / 1.181 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.047, allocations: 0 / 1.181 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002157/1.047, allocations: 73.53 kB / 1.181 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.047, allocations: 8.094 kB / 1.181 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.047, allocations: 0 / 1.181 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.047, allocations: 4 kB / 1.181 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/1.047, allocations: 7.984 kB / 1.181 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.047, allocations: 0 / 1.181 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/1.047, allocations: 4 kB / 1.181 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/1.047, allocations: 0 / 1.181 GB, free: 6.281 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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 9.532e-05/1.047, allocations: 113.8 kB / 1.181 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/1.047, allocations: 7.938 kB / 1.181 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.048, allocations: 80.66 kB / 1.181 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.048, allocations: 4 kB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.048, allocations: 0 / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/1.048, allocations: 81.02 kB / 1.181 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/1.048, allocations: 0 / 1.181 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/1.048, allocations: 7.984 kB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.048, allocations: 192 / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002682/1.048, allocations: 160.9 kB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002801/1.048, allocations: 234.7 kB / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.577e-05/1.048, allocations: 24.05 kB / 1.182 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.778e-05/1.048, allocations: 83.28 kB / 1.182 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of Backend: time 6.71e-07/1.048, allocations: 0 / 1.182 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005524/1.049, allocations: 113.9 kB / 1.182 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004793/1.05, allocations: 0.5532 MB / 1.182 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of Templates: time 0.003426/1.053, allocations: 0.7604 MB / 1.183 GB, free: 3.973 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches