Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009371, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.000931/0.000931, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 11.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8738, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.000714/0.8746, allocations: 314.7 kB / 0.9547 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.875, allocations: 171.5 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-06/0.875, allocations: 0 / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.875, allocations: 1.406 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.875, allocations: 0 / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.8754, allocations: 38.84 kB / 0.9549 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.899e-05/0.8754, allocations: 9.422 kB / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.8755, allocations: 0 / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.8755, allocations: 1.188 kB / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.411e-05/0.8755, allocations: 0 / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-06/0.8755, allocations: 5.281 kB / 0.955 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.8757, allocations: 63.25 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-06/0.8757, allocations: 0 / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.8757, allocations: 25.7 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.229e-05/0.8758, allocations: 20.19 kB / 0.9551 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8758, allocations: 1.188 kB / 0.9551 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8759, allocations: 0 / 0.9551 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8759, allocations: 4 kB / 0.9551 GB, free: 7.273 MB / 0.7169 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.000207/0.8761, allocations: 316 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8761, allocations: 8.906 kB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.8762, allocations: 9.328 kB / 0.9554 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.356e-05/0.8762, allocations: 159.1 kB / 0.9555 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.8762, allocations: 0 / 0.9555 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.8762, allocations: 1.375 kB / 0.9555 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.8763, allocations: 31.06 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.8764, allocations: 4 kB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.8764, allocations: 1.188 kB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8764, allocations: 0 / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.8764, allocations: 12.89 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.8765, allocations: 142.8 kB / 0.9557 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.057e-05/0.8766, allocations: 16.95 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.8766, allocations: 6.109 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.8772, allocations: 460.9 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.8772, allocations: 30.56 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.8772, allocations: 1.469 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.8773, allocations: 33.89 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.8774, allocations: 51.53 kB / 0.9563 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.968e-05/0.8774, allocations: 101.8 kB / 0.9564 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.8774, allocations: 27.08 kB / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.005e-05/0.8774, allocations: 80.14 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.8774, allocations: 3.906 kB / 0.9565 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.8775, allocations: 5.312 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.8775, allocations: 314.8 kB / 0.9568 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.8775, allocations: 1.531 kB / 0.9568 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.8775, allocations: 1.312 kB / 0.9568 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.563e-05/0.8776, allocations: 5.625 kB / 0.9568 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8776, allocations: 0 / 0.9568 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.321e-05/0.8776, allocations: 34.73 kB / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8776, allocations: 4.75 kB / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8776, allocations: 0 / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.8776, allocations: 5.391 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.8777, allocations: 1.781 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8777, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.8777, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.8777, allocations: 1.375 kB / 0.9569 GB, free: 5.223 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.8778, allocations: 117.8 kB / 0.957 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.8778, allocations: 5.531 kB / 0.957 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.8779, allocations: 37.12 kB / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8779, allocations: 4 kB / 0.957 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8779, allocations: 0 / 0.957 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8779, allocations: 0.9375 kB / 0.957 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.621e-05/0.8779, allocations: 158.4 kB / 0.9572 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8779, allocations: 0 / 0.9572 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.878, allocations: 6.844 kB / 0.9572 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.878, allocations: 0 / 0.9572 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.878, allocations: 0 / 0.9572 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.878, allocations: 5.047 kB / 0.9572 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.878, allocations: 0 / 0.9572 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.633e-05/0.878, allocations: 54.84 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.8781, allocations: 78.27 kB / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.8781, allocations: 0 / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.8781, allocations: 5.25 kB / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.8781, allocations: 11.97 kB / 0.9573 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.8781, allocations: 0.75 kB / 0.9573 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.237e-05/0.8781, allocations: 75.28 kB / 0.9574 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8781, allocations: 1.094 kB / 0.9574 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001969/0.8783, allocations: 13.91 kB / 0.9574 GB, free: 4.586 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.8785, allocations: 125.7 kB / 0.9575 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.117e-05/0.8786, allocations: 9.078 kB / 0.9575 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8786, allocations: 0 / 0.9575 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.8786, allocations: 1.219 kB / 0.9575 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.8788, allocations: 4.609 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.8789, allocations: 79.45 kB / 0.9576 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.879, allocations: 0.6742 MB / 0.9583 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.568e-06/0.879, allocations: 5.25 kB / 0.9583 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.879, allocations: 8.5 kB / 0.9583 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8791, allocations: 0 / 0.9583 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.002387/0.8814, allocations: 395.6 kB / 0.9587 GB, free: 3.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches