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.001016/0.001016, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001257/0.001258, allocations: 168.7 kB / 15.95 MB, free: 204 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.441 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.473/2.473, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.8878, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001663/0.8896, allocations: 1.144 MB / 0.9556 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.8901, allocations: 236.5 kB / 0.9558 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.8901, allocations: 0 / 0.9558 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.8902, allocations: 4.969 kB / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.8902, allocations: 0 / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.8906, allocations: 53.45 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.8906, allocations: 14.94 kB / 0.9559 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.8907, allocations: 14.97 kB / 0.9559 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.8908, allocations: 2.562 kB / 0.9559 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.8908, allocations: 11.33 kB / 0.9559 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.8909, allocations: 1.219 kB / 0.9559 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.891, allocations: 60.64 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.8911, allocations: 3.984 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.8911, allocations: 32.17 kB / 0.956 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.8912, allocations: 34.25 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8912, allocations: 5.219 kB / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8912, allocations: 0 / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8912, allocations: 0 / 0.956 GB, free: 6.508 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.0004247/0.8917, allocations: 340.6 kB / 0.9563 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8917, allocations: 9.469 kB / 0.9563 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.8917, allocations: 9.328 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.8918, allocations: 172.3 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.8919, allocations: 1.5 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.8919, allocations: 0 / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.8921, allocations: 54.17 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8921, allocations: 0 / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8921, allocations: 1.375 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8921, allocations: 0 / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.8923, allocations: 47.83 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.8926, allocations: 261.3 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.8927, allocations: 48 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.8928, allocations: 22.66 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/0.8934, allocations: 463.9 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.8934, allocations: 32.03 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8934, allocations: 0 / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.8938, allocations: 110.5 kB / 0.9575 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.8938, allocations: 52.28 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.8939, allocations: 102.6 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.8939, allocations: 26.61 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.8939, allocations: 85.08 kB / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.8939, allocations: 4.812 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.8939, allocations: 4.125 kB / 0.9578 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.894, allocations: 311.9 kB / 0.9581 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.8941, allocations: 25.72 kB / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.8942, allocations: 18.52 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.8942, allocations: 26.17 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8942, allocations: 0 / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.8944, allocations: 82.22 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8944, allocations: 5.125 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8944, allocations: 0 / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8945, allocations: 1.188 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.8946, allocations: 16 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8946, allocations: 1.875 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.8946, allocations: 5.906 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.8946, allocations: 0 / 0.9582 GB, free: 4.219 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.8947, allocations: 119.4 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.8947, allocations: 1.5 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.8949, allocations: 75.81 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.8949, allocations: 1.281 kB / 0.9584 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.895, allocations: 7.984 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.895, allocations: 0 / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.8951, allocations: 154.3 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8951, allocations: 3.938 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.8952, allocations: 17.42 kB / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8952, allocations: 4 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.8952, allocations: 4 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8952, allocations: 5.5 kB / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8952, allocations: 0 / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.8954, allocations: 176.2 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.8954, allocations: 78.61 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.8954, allocations: 3.984 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.8955, allocations: 10.91 kB / 0.9589 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.8956, allocations: 5.438 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8956, allocations: 3.984 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.8956, allocations: 78.22 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8956, allocations: 1.5 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000235/0.8958, allocations: 20.58 kB / 0.959 GB, free: 3.469 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 (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.0001978/0.896, allocations: 127.9 kB / 0.9591 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.8963, allocations: 42.88 kB / 0.9591 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8963, allocations: 4.062 kB / 0.9592 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.8964, allocations: 28.91 kB / 0.9592 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8966, allocations: 2.922 kB / 0.9592 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.8969, allocations: 102.5 kB / 0.9593 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.897, allocations: 0.6811 MB / 0.9599 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.897, allocations: 1.375 kB / 0.9599 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.8971, allocations: 8.812 kB / 0.96 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8971, allocations: 0 / 0.96 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.002802/0.8999, allocations: 0.589 MB / 0.9605 GB, free: 2.207 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches