Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_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.001462/0.001462, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.001622/0.001622, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9454, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003658/0.9491, allocations: 1.429 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008233/0.9499, allocations: 263.1 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.95, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.95, allocations: 3.938 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.9502, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.9507, allocations: 63.81 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.9508, allocations: 19.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.9509, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.951, allocations: 11.94 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.951, allocations: 11.98 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.9511, allocations: 3.938 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.9513, allocations: 67.86 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.9513, allocations: 8 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.9513, allocations: 3.938 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.9515, allocations: 55.91 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9515, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.766e-06/0.9516, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.9516, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 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.0006125/0.9522, allocations: 351.3 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9523, allocations: 15.97 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.9523, allocations: 0.9375 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.9525, allocations: 164.3 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.9525, allocations: 4.375 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.9525, allocations: 384 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.9527, allocations: 50.23 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9527, allocations: 192 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9528, allocations: 3.938 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9528, allocations: 4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.9529, allocations: 39.94 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.9533, allocations: 244.9 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.9535, allocations: 42.53 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.9536, allocations: 24.91 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/0.9543, allocations: 457.5 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.9544, allocations: 34.56 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.654e-06/0.9544, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.9548, allocations: 89.48 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.9548, allocations: 51.41 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.9549, allocations: 101.8 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.9549, allocations: 25.7 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.955, allocations: 84.14 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.955, allocations: 7.906 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.955, allocations: 17.78 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9552, allocations: 310.8 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.9552, allocations: 23.97 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.9553, allocations: 11.98 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.9555, allocations: 44.89 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9555, allocations: 0 / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.9557, allocations: 69.53 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.9557, allocations: 8 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9557, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9557, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.9558, allocations: 11.98 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9558, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.9559, allocations: 8.031 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.9559, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 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 8.351e-05/0.956, allocations: 111.6 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.956, allocations: 7.938 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.9562, allocations: 76.66 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.9563, allocations: 0 / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9563, allocations: 4 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.9563, allocations: 85.05 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9564, allocations: 4 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.9564, allocations: 3.984 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.9565, allocations: 4 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002479/0.9567, allocations: 152.9 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002664/0.957, allocations: 238.8 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.505e-05/0.9571, allocations: 15.98 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.9571, allocations: 83.28 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of Backend: time 5.31e-07/0.9572, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.9577, allocations: 118.1 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005258/0.9582, allocations: 0.5531 MB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of Templates: time 0.003688/0.9619, allocations: 0.77 MB / 1.214 GB, free: 6.832 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches