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.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.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.001005/0.001005, allocations: 98.88 kB / 16.02 MB, free: 72 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.001314/0.001314, allocations: 182 kB / 16.92 MB, free: 6.918 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.328 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.417/2.417, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005728/0.0005728, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6696, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001439/0.671, allocations: 1.156 MB / 0.9568 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005529/0.6716, allocations: 260.2 kB / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.6716, allocations: 0 / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.6717, allocations: 7.938 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.6717, allocations: 1.312 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.672, allocations: 48.44 kB / 0.9571 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.6721, allocations: 21.03 kB / 0.9572 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.6722, allocations: 3.469 kB / 0.9572 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.6723, allocations: 10.73 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.6723, allocations: 6.594 kB / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.6723, allocations: 1.406 kB / 0.9572 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.6725, allocations: 74.45 kB / 0.9573 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.6725, allocations: 7.922 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.6725, allocations: 32.52 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.6726, allocations: 30.33 kB / 0.9573 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6726, allocations: 5.281 kB / 0.9573 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6727, allocations: 0 / 0.9573 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6727, allocations: 0 / 0.9573 GB, free: 6.352 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.0003755/0.673, allocations: 344.7 kB / 0.9577 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6731, allocations: 13 kB / 0.9577 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.6731, allocations: 6.172 kB / 0.9577 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.6732, allocations: 166.7 kB / 0.9578 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.6732, allocations: 384 / 0.9578 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.6732, allocations: 1.594 kB / 0.9578 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.6734, allocations: 58.61 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6734, allocations: 4.125 kB / 0.9579 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6734, allocations: 9.312 kB / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6735, allocations: 0 / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.6736, allocations: 40.44 kB / 0.9579 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.6739, allocations: 261 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6741, allocations: 43.75 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.6742, allocations: 28.72 kB / 0.9583 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.6748, allocations: 459.8 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.6748, allocations: 39.58 kB / 0.9587 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.6748, allocations: 0 / 0.9587 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.6752, allocations: 95.94 kB / 0.9588 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.6752, allocations: 51.41 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.6752, allocations: 102.5 kB / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.6753, allocations: 26.89 kB / 0.959 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.6753, allocations: 89.14 kB / 0.9591 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.6753, allocations: 5.031 kB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.6753, allocations: 9.719 kB / 0.9591 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.6754, allocations: 320 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.6755, allocations: 22.52 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.6756, allocations: 29.48 kB / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.6757, allocations: 49.56 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6757, allocations: 0 / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.6759, allocations: 78.58 kB / 0.9596 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6759, allocations: 5.406 kB / 0.9596 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.676, allocations: 0 / 0.9596 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.676, allocations: 5.75 kB / 0.9596 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.6761, allocations: 15.14 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6761, allocations: 0 / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.6761, allocations: 11.17 kB / 0.9596 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.6761, allocations: 0 / 0.9596 GB, free: 4.02 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 5.019e-05/0.6762, allocations: 115.6 kB / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.6762, allocations: 5.75 kB / 0.9597 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.6764, allocations: 79.47 kB / 0.9598 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6765, allocations: 1.344 kB / 0.9598 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6765, allocations: 0 / 0.9598 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6765, allocations: 0 / 0.9598 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.6766, allocations: 170.6 kB / 0.96 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6766, allocations: 0 / 0.96 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.6767, allocations: 16.86 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6767, allocations: 0 / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.6767, allocations: 0.875 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6767, allocations: 0 / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6767, allocations: 0.875 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.6769, allocations: 180.4 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.6769, allocations: 78.52 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.677, allocations: 1.438 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.677, allocations: 9.391 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.6771, allocations: 1.344 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.6771, allocations: 0.8438 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.6771, allocations: 85.91 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6771, allocations: 1.094 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002418/0.6774, allocations: 17.61 kB / 0.9603 GB, free: 3.277 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.000174/0.6775, allocations: 110.9 kB / 0.9604 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.6778, allocations: 51.45 kB / 0.9605 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6778, allocations: 3.938 kB / 0.9605 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.6779, allocations: 24.64 kB / 0.9605 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.6781, allocations: 9.219 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.6784, allocations: 134.5 kB / 0.9607 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.6785, allocations: 0.6808 MB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.6785, allocations: 8.688 kB / 0.9613 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6785, allocations: 0 / 0.9613 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.002111/0.6806, allocations: 0.764 MB / 0.9621 GB, free: 1.914 MB / 0.7169 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