Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001871/0.001871, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 83.88 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8359, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001687/0.8376, allocations: 0.5769 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.8381, allocations: 187.1 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.8381, allocations: 1.375 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.8381, allocations: 0 / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.8381, allocations: 0 / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.8385, allocations: 54.97 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.8386, allocations: 1.656 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.8386, allocations: 1.531 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.8386, allocations: 1.594 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.8387, allocations: 3.984 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.8387, allocations: 0 / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.8389, allocations: 60.42 kB / 1.09 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.8389, allocations: 4 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.8389, allocations: 1 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.839, allocations: 39.97 kB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.839, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8391, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8391, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 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.0002564/0.8393, allocations: 316.2 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8394, allocations: 9.406 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.8394, allocations: 2.219 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.803e-05/0.8395, allocations: 161.9 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8395, allocations: 4.375 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.8395, allocations: 1.438 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/0.8396, allocations: 39.92 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.8396, allocations: 1.344 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8396, allocations: 4.594 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8396, allocations: 3.938 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.8396, allocations: 2.156 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.955e-05/0.8397, allocations: 145 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.8398, allocations: 23.83 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.8398, allocations: 6.828 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.8404, allocations: 453.2 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.8405, allocations: 36.28 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.8405, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.8406, allocations: 40.11 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.418e-05/0.8406, allocations: 56.53 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.612e-05/0.8406, allocations: 90.52 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.8406, allocations: 25.7 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.8407, allocations: 81.14 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.8407, allocations: 0 / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.8407, allocations: 12.44 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.8408, allocations: 316.6 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.8408, allocations: 0.875 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.8408, allocations: 1.594 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.8408, allocations: 15.98 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8408, allocations: 0 / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.246e-05/0.8409, allocations: 32.34 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.8409, allocations: 4.938 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8409, allocations: 5.812 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8409, allocations: 7.922 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.841, allocations: 2.688 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.841, allocations: 3.984 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.841, allocations: 1.094 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.841, allocations: 0.6094 kB / 1.091 GB, free: 2.93 MB / 0.8575 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 4.596e-05/0.841, allocations: 108.7 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.8411, allocations: 0 / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.8411, allocations: 51.53 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8411, allocations: 3.938 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8412, allocations: 1.703 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.8412, allocations: 81.7 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.8412, allocations: 1.125 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.8412, allocations: 0.6094 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.8412, allocations: 1.125 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.227e-05/0.8413, allocations: 106.4 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.728e-05/0.8413, allocations: 218.8 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.636e-05/0.8414, allocations: 5.938 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.141e-05/0.8414, allocations: 76.25 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.8414, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.8418, allocations: 98.42 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002096/0.842, allocations: 0.5322 MB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of Templates: time 0.002429/0.8444, allocations: 432.6 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches