Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001423/0.001423, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00157/0.00157, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.233/3.233, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8776 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.503e-05, allocations: 3.375 kB / 0.8776 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00309/0.003125, allocations: 1.462 MB / 0.879 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.00378, allocations: 234.4 kB / 0.8792 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.003809, allocations: 1.062 kB / 0.8792 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.003838, allocations: 0.6562 kB / 0.8792 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.003884, allocations: 2.734 kB / 0.8792 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.004323, allocations: 64.41 kB / 0.8793 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.004412, allocations: 26.11 kB / 0.8793 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.004497, allocations: 5.125 kB / 0.8793 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.00456, allocations: 11.98 kB / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.004599, allocations: 7.969 kB / 0.8794 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.00463, allocations: 5.156 kB / 0.8794 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.004802, allocations: 59.83 kB / 0.8794 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.004822, allocations: 4 kB / 0.8794 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.00485, allocations: 5.859 kB / 0.8794 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005039, allocations: 67.78 kB / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005041, allocations: 0 / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005042, allocations: 0 / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005047, allocations: 0 / 0.8795 GB, free: 3.402 MB / 0.7917 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.0005768/0.005623, allocations: 273 kB / 0.8798 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.005666, allocations: 12.03 kB / 0.8798 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.005713, allocations: 0.9375 kB / 0.8798 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.005849, allocations: 109.7 kB / 0.8799 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.005868, allocations: 8.312 kB / 0.8799 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.005877, allocations: 384 / 0.8799 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.006078, allocations: 50.95 kB / 0.8799 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.006087, allocations: 1.844 kB / 0.8799 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.006097, allocations: 384 / 0.8799 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006104, allocations: 4.375 kB / 0.8799 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.006294, allocations: 36.39 kB / 0.88 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.006653, allocations: 191 kB / 0.8802 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.006803, allocations: 42.53 kB / 0.8802 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.006903, allocations: 25.41 kB / 0.8802 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.007459, allocations: 70.86 kB / 0.8803 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.007516, allocations: 38.55 kB / 0.8803 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.007517, allocations: 0 / 0.8803 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0003999/0.007917, allocations: 81.59 kB / 0.8804 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.007964, allocations: 59.34 kB / 0.8805 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.008064, allocations: 97.84 kB / 0.8806 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.008085, allocations: 25.7 kB / 0.8806 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.00815, allocations: 88.12 kB / 0.8807 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.008171, allocations: 7.953 kB / 0.8807 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.008207, allocations: 13.7 kB / 0.8807 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.008387, allocations: 318.8 kB / 0.881 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.008489, allocations: 16.11 kB / 0.881 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.008568, allocations: 15.98 kB / 0.881 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.008735, allocations: 40.81 kB / 0.8811 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008736, allocations: 0 / 0.8811 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.008956, allocations: 69.55 kB / 0.8811 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.008973, allocations: 8.094 kB / 0.8811 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.008981, allocations: 3.938 kB / 0.8811 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.009003, allocations: 3.984 kB / 0.8811 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.00909, allocations: 8 kB / 0.8811 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.009095, allocations: 0 / 0.8811 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.009148, allocations: 8.172 kB / 0.8812 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.009154, allocations: 0 / 0.8812 GB, free: 1.543 MB / 0.7917 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 9.54e-05/0.009249, allocations: 113.8 kB / 0.8813 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.009278, allocations: 7.938 kB / 0.8813 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.009545, allocations: 76.91 kB / 0.8813 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.00955, allocations: 4 kB / 0.8813 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.009557, allocations: 3.984 kB / 0.8813 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.009559, allocations: 0 / 0.8813 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.00971, allocations: 101.3 kB / 0.8814 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.009711, allocations: 0 / 0.8814 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.009775, allocations: 15.92 kB / 0.8815 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009777, allocations: 0 / 0.8815 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.009784, allocations: 4.031 kB / 0.8815 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.009791, allocations: 3.938 kB / 0.8815 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009792, allocations: 0 / 0.8815 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.01008, allocations: 159.5 kB / 0.8816 GB, free: 1 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.01009, allocations: 4 kB / 0.8816 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.0101, allocations: 0 / 0.8816 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.01019, allocations: 11.92 kB / 0.8816 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.01023, allocations: 0 / 0.8816 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.01023, allocations: 0 / 0.8816 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.0103, allocations: 91.3 kB / 0.8817 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.0103, allocations: 0 / 0.8817 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002563/0.01056, allocations: 19.94 kB / 0.8817 GB, free: 0.875 MB / 0.7917 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.0002511/0.01081, allocations: 119.1 kB / 0.8819 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.01105, allocations: 35.97 kB / 0.8819 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01105, allocations: 0 / 0.8819 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.01114, allocations: 19.98 kB / 0.8819 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01141, allocations: 3.984 kB / 0.8819 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.01173, allocations: 112.7 kB / 0.882 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.0118, allocations: 59.36 kB / 0.8821 GB, free: 484 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.01183, allocations: 128 / 0.8821 GB, free: 484 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.01185, allocations: 12.5 kB / 0.8821 GB, free: 472 kB / 0.7917 GB Notification: Performance of SimCode: time 3.31e-07/0.01185, allocations: 3.938 kB / 0.8821 GB, free: 468 kB / 0.7917 GB Notification: Performance of Templates: time 0.003576/0.01543, allocations: 0.6928 MB / 0.8828 GB, free: 15.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.990088177029975]