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.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.002345/0.002345, allocations: 89.47 kB / 19.44 MB, free: 344 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.002695/0.002695, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.435/3.435, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.988e-05, allocations: 3.562 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00303/0.00306, allocations: 1.469 MB / 0.8789 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.00367, allocations: 242.7 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.003698, allocations: 5.125 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.003723, allocations: 1.312 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.003773, allocations: 9.688 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.004163, allocations: 51.88 kB / 0.8792 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.004234, allocations: 27.92 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.004311, allocations: 3.984 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.004367, allocations: 10.31 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.004403, allocations: 7.984 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.004418, allocations: 7.938 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.004593, allocations: 67.8 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.00461, allocations: 4 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.00463, allocations: 0 / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.004824, allocations: 66.11 kB / 0.8794 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004826, allocations: 3.938 kB / 0.8794 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004827, allocations: 3.938 kB / 0.8794 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.004833, allocations: 0 / 0.8794 GB, free: 4.738 MB / 0.8386 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.0005363/0.005369, allocations: 368.2 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.005407, allocations: 8.031 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.005451, allocations: 5.656 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.005583, allocations: 120.6 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005597, allocations: 6.031 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.005606, allocations: 384 / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.005762, allocations: 46.23 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00577, allocations: 192 / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005779, allocations: 1.688 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.005783, allocations: 384 / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.005917, allocations: 27.92 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.006277, allocations: 251.8 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.006399, allocations: 43.16 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.006472, allocations: 15.67 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.007032, allocations: 79.92 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.007069, allocations: 37.39 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.00707, allocations: 0 / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003229/0.007393, allocations: 73.55 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.007437, allocations: 51.41 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.007583, allocations: 165.9 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.007602, allocations: 25.7 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.007685, allocations: 126.9 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.007705, allocations: 3.953 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.00775, allocations: 23.38 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.008031, allocations: 0.4924 MB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.008089, allocations: 8 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.008139, allocations: 11.98 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.008242, allocations: 27.67 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008244, allocations: 3.938 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.008396, allocations: 53.69 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.008413, allocations: 4 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.008421, allocations: 8.031 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.008438, allocations: 7.938 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.008513, allocations: 7.984 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.00852, allocations: 0 / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.008557, allocations: 11.94 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008563, allocations: 4 kB / 0.8814 GB, free: 2.445 MB / 0.8386 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 0.0001196/0.008683, allocations: 152.6 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.008723, allocations: 7.953 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.008917, allocations: 68.86 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008919, allocations: 4.031 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008923, allocations: 0 / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008926, allocations: 0 / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.009084, allocations: 116.6 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009085, allocations: 0 / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.009128, allocations: 8 kB / 0.8818 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00913, allocations: 0 / 0.8818 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.009138, allocations: 0 / 0.8818 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.009144, allocations: 7.922 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009145, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.009401, allocations: 203.9 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.009407, allocations: 192 / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.009422, allocations: 4 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.009487, allocations: 11.91 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.009527, allocations: 8 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.00953, allocations: 0 / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.009617, allocations: 123.2 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.009617, allocations: 0 / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002379/0.009855, allocations: 15.98 kB / 0.8821 GB, free: 1.656 MB / 0.8386 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.0002458/0.0101, allocations: 119.2 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01028, allocations: 35.66 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01028, allocations: 0 / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.01035, allocations: 23.69 kB / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01061, allocations: 10.5 kB / 0.8823 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.01094, allocations: 118.3 kB / 0.8824 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.011, allocations: 63.28 kB / 0.8825 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.01103, allocations: 4 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.01106, allocations: 12.5 kB / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of SimCode: time 4.9e-07/0.01106, allocations: 0 / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of Templates: time 0.003851/0.01491, allocations: 0.6906 MB / 0.8832 GB, free: 0.5234 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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: 8.545305392006412]