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.001625/0.001625, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.35/2.35, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7289, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002164/0.7311, allocations: 1.423 MB / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004307/0.7315, allocations: 243.8 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.7316, allocations: 0 / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.7316, allocations: 7.938 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.7316, allocations: 1.344 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.7319, allocations: 58.39 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.732, allocations: 24.39 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.7321, allocations: 11.11 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.106e-05/0.7321, allocations: 11.17 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.7322, allocations: 10.67 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.7322, allocations: 2.5 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.7323, allocations: 63.08 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.7323, allocations: 5.25 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.7324, allocations: 9.266 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.7325, allocations: 56.58 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7325, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7325, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7325, allocations: 0 / 0.9514 GB, free: 7.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003593/0.7329, allocations: 346.6 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.7329, allocations: 8.5 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.7329, allocations: 6.031 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/0.733, allocations: 169.8 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.733, allocations: 1.875 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.733, allocations: 1.844 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7332, allocations: 49.5 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.7332, allocations: 192 / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7332, allocations: 7.922 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7332, allocations: 1.094 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.7334, allocations: 34.69 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.7336, allocations: 252.5 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7338, allocations: 43.06 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.7339, allocations: 22.06 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.7344, allocations: 460.4 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.7344, allocations: 31.88 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7344, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000331/0.7348, allocations: 84.55 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.7348, allocations: 51.41 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.7349, allocations: 103.1 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.7349, allocations: 25.7 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.7349, allocations: 85.22 kB / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.7349, allocations: 8.828 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.7349, allocations: 16.66 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.735, allocations: 316.1 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.7351, allocations: 20.36 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.7352, allocations: 18.41 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.7353, allocations: 36.11 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7353, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.7355, allocations: 71.06 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7355, allocations: 10.25 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.7355, allocations: 0 / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.7355, allocations: 0 / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.7356, allocations: 14.39 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.7356, allocations: 0 / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.7357, allocations: 4.5 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.7357, allocations: 3.938 kB / 0.9536 GB, free: 5.328 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 (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 4.173e-05/0.7357, allocations: 116.2 kB / 0.9538 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.7358, allocations: 9.453 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.736, allocations: 69.25 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.736, allocations: 1.125 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.736, allocations: 0 / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.736, allocations: 0.9375 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7361, allocations: 158.1 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7361, allocations: 4.031 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.7362, allocations: 10.61 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7362, allocations: 0 / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7362, allocations: 1.156 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7362, allocations: 3.938 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7362, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.7364, allocations: 171.9 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.7364, allocations: 77.11 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.7364, allocations: 1.469 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.7365, allocations: 11.83 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.7365, allocations: 1.094 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.7366, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.177e-05/0.7366, allocations: 82.89 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7366, allocations: 0 / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002334/0.7368, allocations: 18.19 kB / 0.9544 GB, free: 4.59 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 (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.0001696/0.737, allocations: 119.8 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.7372, allocations: 37.5 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7372, allocations: 0 / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.7373, allocations: 24.36 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.7375, allocations: 11.23 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.7377, allocations: 98.62 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.725e-05/0.7379, allocations: 0.6812 MB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.7379, allocations: 0.9688 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.7379, allocations: 12.53 kB / 0.9553 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7379, allocations: 0 / 0.9553 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.002533/0.7404, allocations: 0.65 MB / 0.9559 GB, free: 3.305 MB / 0.7169 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