Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.01156/0.01156, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002113/0.002113, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.438/1.438, 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.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 72.08 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9181, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002304/0.9204, allocations: 1.441 MB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.9209, allocations: 242.5 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.921, allocations: 5.281 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.921, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.9211, allocations: 4.453 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.9214, allocations: 58.02 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.9215, allocations: 15.66 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.9216, allocations: 17.42 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.9216, allocations: 8.688 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.9216, allocations: 10.14 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.9217, allocations: 1.875 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.9218, allocations: 61.33 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.9218, allocations: 4.969 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.9219, allocations: 7.516 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.922, allocations: 49.31 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.922, allocations: 1.688 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.922, allocations: 4 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.9221, allocations: 0 / 1.09 GB, free: 4.27 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.0003859/0.9224, allocations: 350.2 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9225, allocations: 10.22 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.9225, allocations: 2.094 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.9226, allocations: 166.7 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.9226, allocations: 5.562 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.9226, allocations: 2.188 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.9228, allocations: 53.14 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9228, allocations: 192 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.9228, allocations: 7.875 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9229, allocations: 4.906 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.923, allocations: 32.47 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.9233, allocations: 245.9 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.9234, allocations: 45.44 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.9235, allocations: 23.88 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.9241, allocations: 457.9 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.9241, allocations: 36.28 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.9241, allocations: 0 / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003908/0.9245, allocations: 88.83 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.9246, allocations: 51.41 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.9246, allocations: 101 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.9247, allocations: 29.83 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.9247, allocations: 82.41 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.9247, allocations: 8.828 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.9247, allocations: 16.44 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.9248, allocations: 313.2 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.9249, allocations: 14.67 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.925, allocations: 18.23 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.9251, allocations: 40.98 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9251, allocations: 1.438 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/0.9253, allocations: 70.72 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9253, allocations: 4.188 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9254, allocations: 1.859 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9254, allocations: 4.031 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.9255, allocations: 9.547 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9255, allocations: 0 / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.9255, allocations: 6.766 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.9255, allocations: 1.25 kB / 1.092 GB, free: 2.074 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.707e-05/0.9256, allocations: 115.9 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.9256, allocations: 1.188 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.9259, allocations: 78.98 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9259, allocations: 0.7969 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9259, allocations: 0.9688 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9259, allocations: 0 / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.926, allocations: 163.4 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.926, allocations: 5.484 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.9261, allocations: 12.08 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9261, allocations: 0.7188 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.9261, allocations: 0.7969 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9261, allocations: 4.875 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9261, allocations: 0 / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.9263, allocations: 159.8 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.9264, allocations: 82.11 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9264, allocations: 1.703 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.9265, allocations: 14.09 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.9265, allocations: 1.422 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.9265, allocations: 1.766 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.9265, allocations: 84.05 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9265, allocations: 0 / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002308/0.9268, allocations: 17.95 kB / 1.093 GB, free: 1.367 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.0001725/0.927, allocations: 114.9 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.9272, allocations: 39 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9272, allocations: 0.9062 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.9273, allocations: 15.89 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.9275, allocations: 6.984 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.9278, allocations: 113.2 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.9279, allocations: 0.6756 MB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.928, allocations: 1.406 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.928, allocations: 9.438 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.928, allocations: 0 / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.002954/0.931, allocations: 0.6594 MB / 1.094 GB, free: 16.36 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches