Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 108 kB / 15.6 MB, free: 132 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.001267/0.001267, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.148/2.148, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5575, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001675/0.5592, allocations: 0.5839 MB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.5596, allocations: 191.3 kB / 0.9503 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.5597, allocations: 1.375 kB / 0.9503 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.5597, allocations: 4 kB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-06/0.5597, allocations: 0 / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.5601, allocations: 49.84 kB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.131e-05/0.5601, allocations: 5.359 kB / 0.9504 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.5601, allocations: 5.359 kB / 0.9504 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.5602, allocations: 0 / 0.9504 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.547e-05/0.5602, allocations: 1.375 kB / 0.9504 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.5602, allocations: 0 / 0.9504 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.5603, allocations: 59.39 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-06/0.5603, allocations: 0 / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.5604, allocations: 3.984 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.5605, allocations: 40.33 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5605, allocations: 1.375 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5605, allocations: 0 / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5605, allocations: 3.938 kB / 0.9505 GB, free: 8.484 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.0001916/0.5607, allocations: 319.2 kB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.5607, allocations: 8.719 kB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.5607, allocations: 2.375 kB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.54e-05/0.5608, allocations: 168.4 kB / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.5608, allocations: 384 / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5608, allocations: 6.062 kB / 0.951 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.538e-05/0.5609, allocations: 34.89 kB / 0.951 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5609, allocations: 192 / 0.951 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.5609, allocations: 9.531 kB / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.5609, allocations: 0 / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.5609, allocations: 1.625 kB / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.496e-05/0.561, allocations: 142.8 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.542e-05/0.561, allocations: 15.83 kB / 0.9512 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.5611, allocations: 22.22 kB / 0.9512 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.5616, allocations: 450.5 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.5617, allocations: 39.67 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5617, allocations: 4 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.842e-05/0.5618, allocations: 38.83 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.342e-05/0.5618, allocations: 51.41 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.252e-05/0.5618, allocations: 89.86 kB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.5618, allocations: 27.11 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.5618, allocations: 80.14 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.5619, allocations: 3.906 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.5619, allocations: 12.31 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.277e-05/0.5619, allocations: 315 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.5619, allocations: 5.578 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.5619, allocations: 1.5 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.562, allocations: 14.58 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.562, allocations: 1.719 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.915e-05/0.562, allocations: 29.86 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.562, allocations: 5.562 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.562, allocations: 0 / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5621, allocations: 8.031 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.239e-05/0.5621, allocations: 5.406 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.5621, allocations: 5.406 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-06/0.5621, allocations: 0 / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.5621, allocations: 1.219 kB / 0.9523 GB, free: 6.387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.5622, allocations: 111.3 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-06/0.5622, allocations: 0 / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.5622, allocations: 45.2 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5622, allocations: 0 / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5622, allocations: 4.031 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.5622, allocations: 1.188 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.982e-05/0.5623, allocations: 146.8 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5623, allocations: 0 / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.5623, allocations: 1.188 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5623, allocations: 1 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.5623, allocations: 3.938 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5623, allocations: 1.344 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5623, allocations: 0 / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.178e-05/0.5624, allocations: 70.56 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.5624, allocations: 78.45 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-06/0.5624, allocations: 3.938 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.5624, allocations: 1.5 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.5624, allocations: 0 / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.5624, allocations: 0 / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.077e-06/0.5625, allocations: 76.78 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5625, allocations: 0 / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001768/0.5626, allocations: 18.94 kB / 0.9529 GB, free: 5.762 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 (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.00015/0.5628, allocations: 117.9 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.5629, allocations: 7.75 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5629, allocations: 0 / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.5629, allocations: 10.42 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.563, allocations: 5.438 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001215/0.5631, allocations: 73.98 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.5632, allocations: 0.6778 MB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.175e-06/0.5632, allocations: 0 / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-06/0.5632, allocations: 8.688 kB / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.5632, allocations: 0 / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.001897/0.5651, allocations: 421 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches