Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008002/0.0008002, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007892/0.0007892, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8916/0.8916, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.924e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001863/0.001893, allocations: 1.46 MB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.00232, allocations: 239.1 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.00235, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.002378, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.002416, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.00276, allocations: 59.77 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.002825, allocations: 27.91 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.002913, allocations: 3.984 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.002961, allocations: 11.94 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.002996, allocations: 7.984 kB / 0.984 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003008, allocations: 4 kB / 0.984 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.00313, allocations: 59.89 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003148, allocations: 7.984 kB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.003165, allocations: 3.938 kB / 0.984 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.003315, allocations: 63.84 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003317, allocations: 0 / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003318, allocations: 0 / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003322, allocations: 0 / 0.9841 GB, free: 116 kB / 0.9323 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.0003578/0.00368, allocations: 266.3 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.003717, allocations: 8.031 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.003748, allocations: 8.891 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.003825, allocations: 117.7 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.003836, allocations: 4.375 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.003846, allocations: 384 / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.003974, allocations: 54.17 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.003981, allocations: 192 / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.003994, allocations: 384 / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003999, allocations: 384 / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.004087, allocations: 35.91 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.004349, allocations: 200.5 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.004429, allocations: 42.44 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.004475, allocations: 20.91 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/0.004865, allocations: 79.91 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.004891, allocations: 34.56 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.004893, allocations: 0 / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.00515, allocations: 85.58 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.005179, allocations: 51.41 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.005238, allocations: 93.86 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.005248, allocations: 29.7 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.005283, allocations: 84.14 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.005303, allocations: 11.88 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.005332, allocations: 17.84 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.005412, allocations: 314.8 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.005456, allocations: 11.98 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.005495, allocations: 23.97 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.005574, allocations: 32.83 kB / 0.9856 GB, free: 14.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005576, allocations: 0 / 0.9856 GB, free: 14.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.005685, allocations: 73.67 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005698, allocations: 4 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.005705, allocations: 7.938 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005717, allocations: 192 / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.005775, allocations: 7.938 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.005781, allocations: 3.984 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.005804, allocations: 4 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.005808, allocations: 0 / 0.9857 GB, free: 14.24 MB / 0.948 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.596e-05/0.005864, allocations: 117.9 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.005876, allocations: 3.984 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.006018, allocations: 76.89 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.00602, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.006024, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006027, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.915e-05/0.006116, allocations: 105.3 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006118, allocations: 3.984 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.006143, allocations: 12.03 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006144, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.006151, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.006153, allocations: 7.875 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006154, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.006289, allocations: 163.5 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006298, allocations: 7.953 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.006309, allocations: 3.984 kB / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.006346, allocations: 15.91 kB / 0.9862 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.006384, allocations: 3.984 kB / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.006387, allocations: 0 / 0.9862 GB, free: 13.67 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001233/0.00651, allocations: 83.28 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00651, allocations: 0 / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001742/0.006684, allocations: 19.94 kB / 0.9863 GB, free: 13.57 MB / 0.948 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.0001923/0.006877, allocations: 119.2 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.007021, allocations: 35.91 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007023, allocations: 0 / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.007064, allocations: 23.97 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.007244, allocations: 4 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.007494, allocations: 122.7 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.007538, allocations: 63.48 kB / 0.9867 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.007561, allocations: 8.5 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.007561, allocations: 0 / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of Templates: time 0.001798/0.00936, allocations: 0.7953 MB / 0.9875 GB, free: 12.35 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.825236744247377]