Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001734/0.001734, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 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.322/2.322, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 71.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003156/1.159, allocations: 1.431 MB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006337/1.159, allocations: 258.8 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/1.159, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/1.159, allocations: 4.453 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/1.16, allocations: 1.125 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/1.16, allocations: 63.56 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/1.16, allocations: 23.48 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/1.16, allocations: 8.234 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/1.16, allocations: 13.61 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/1.16, allocations: 8.969 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/1.16, allocations: 1.969 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/1.16, allocations: 63.41 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/1.16, allocations: 6.172 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/1.16, allocations: 11.28 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/1.161, allocations: 53.16 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.161, allocations: 0.75 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.036e-06/1.161, allocations: 4.516 kB / 1.091 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.161, allocations: 0 / 1.091 GB, free: 4.273 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004452/1.161, allocations: 344.8 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.161, allocations: 8.844 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/1.161, allocations: 6.812 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/1.161, allocations: 167.9 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.161, allocations: 384 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.161, allocations: 6.422 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.162, allocations: 53.67 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.162, allocations: 192 / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.162, allocations: 3.938 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.162, allocations: 1.125 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/1.162, allocations: 31.61 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/1.162, allocations: 247.5 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/1.162, allocations: 43.58 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/1.162, allocations: 24.52 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/1.163, allocations: 465.8 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.163, allocations: 31.86 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/1.163, allocations: 3.938 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00038/1.164, allocations: 84.78 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.164, allocations: 51.97 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/1.164, allocations: 97.48 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/1.164, allocations: 30.77 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/1.164, allocations: 89.53 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/1.164, allocations: 2.047 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/1.164, allocations: 11.97 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/1.164, allocations: 317 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/1.164, allocations: 13.44 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/1.164, allocations: 22.52 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.164, allocations: 37.62 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.164, allocations: 0 / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/1.164, allocations: 75.16 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.164, allocations: 5.031 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.164, allocations: 1.281 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.164, allocations: 4.094 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/1.164, allocations: 9.281 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.164, allocations: 0 / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/1.165, allocations: 6.859 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/1.165, allocations: 1.156 kB / 1.093 GB, free: 2.086 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 (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 5.828e-05/1.165, allocations: 115.5 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/1.165, allocations: 5.625 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/1.165, allocations: 71.3 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.165, allocations: 1.062 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.165, allocations: 3.938 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.165, allocations: 1.5 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.165, allocations: 163.2 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.165, allocations: 0 / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/1.165, allocations: 9.453 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.165, allocations: 1.094 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/1.165, allocations: 0 / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/1.165, allocations: 5.797 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.165, allocations: 0 / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/1.165, allocations: 162.5 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/1.165, allocations: 84.62 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/1.165, allocations: 4.5 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/1.166, allocations: 10.59 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/1.166, allocations: 1.828 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.166, allocations: 1.953 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.998e-05/1.166, allocations: 91.86 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.42e-07/1.166, allocations: 0 / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002431/1.166, allocations: 19.3 kB / 1.093 GB, free: 1.375 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 (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 Backend phase and start with SimCode phase: time 0.0002127/1.166, allocations: 118.1 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000225/1.166, allocations: 35.92 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.166, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/1.166, allocations: 20.28 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/1.167, allocations: 6.234 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/1.167, allocations: 139.7 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/1.167, allocations: 0.6754 MB / 1.094 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/1.167, allocations: 13 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.167, allocations: 0 / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.002889/1.17, allocations: 0.7708 MB / 1.095 GB, free: 16.37 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches