Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0009737/0.0009737, allocations: 89.06 kB / 19.65 MB, free: 268 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.001009/0.001009, allocations: 173 kB / 23.03 MB, free: 1.531 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.9334/0.9334, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 2.028/2.028, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.023e-05, allocations: 10.05 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002099/0.002129, allocations: 0.6074 MB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.0025, allocations: 181.2 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.002513, allocations: 0 / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.002532, allocations: 0 / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.002538, allocations: 1.094 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.002876, allocations: 53.69 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.107e-05/0.002918, allocations: 3.938 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.002951, allocations: 4.953 kB / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.002973, allocations: 0 / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.762e-05/0.00299, allocations: 0 / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.002999, allocations: 4.562 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.003133, allocations: 50 kB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.003145, allocations: 3.984 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.003158, allocations: 4.312 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003261, allocations: 43.88 kB / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.003264, allocations: 0 / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003265, allocations: 3.938 kB / 0.8792 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003269, allocations: 0 / 0.8792 GB, free: 5.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000238/0.003507, allocations: 349.2 kB / 0.8795 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.003541, allocations: 8.031 kB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.003573, allocations: 0.9375 kB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.358e-05/0.003627, allocations: 104.6 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.003638, allocations: 4.875 kB / 0.8796 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.003645, allocations: 0.9688 kB / 0.8796 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.003723, allocations: 26.27 kB / 0.8796 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.00373, allocations: 1.953 kB / 0.8796 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.003737, allocations: 384 / 0.8796 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003744, allocations: 5.016 kB / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.003758, allocations: 7.938 kB / 0.8796 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.1e-05/0.003849, allocations: 114.2 kB / 0.8797 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.003885, allocations: 31.03 kB / 0.8798 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.0039, allocations: 7.688 kB / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.00426, allocations: 81.64 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.00428, allocations: 37.39 kB / 0.8799 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.004281, allocations: 0 / 0.8799 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.004386, allocations: 37.62 kB / 0.8799 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.004409, allocations: 51.41 kB / 0.88 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.28e-05/0.004442, allocations: 146.2 kB / 0.8801 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.00445, allocations: 25.7 kB / 0.8801 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.004472, allocations: 126.9 kB / 0.8803 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.004496, allocations: 12.28 kB / 0.8803 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.004515, allocations: 15.38 kB / 0.8803 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.004613, allocations: 0.4883 MB / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.004626, allocations: 4.125 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-06/0.004631, allocations: 0 / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.004659, allocations: 11.69 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.004661, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.899e-05/0.0047, allocations: 41.62 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004711, allocations: 4 kB / 0.8808 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004715, allocations: 4 kB / 0.8808 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.004726, allocations: 0 / 0.8808 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.004767, allocations: 0 / 0.8808 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.004773, allocations: 4.094 kB / 0.8808 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-06/0.004781, allocations: 7.875 kB / 0.8808 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.004789, allocations: 8 kB / 0.8809 GB, free: 3.398 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 (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 5.402e-05/0.004843, allocations: 152.6 kB / 0.881 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-06/0.004846, allocations: 0 / 0.881 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.004907, allocations: 36.69 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004908, allocations: 0 / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004911, allocations: 0 / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004914, allocations: 0 / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.232e-05/0.004966, allocations: 120.5 kB / 0.8811 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.004967, allocations: 4.031 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.004973, allocations: 0 / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.004975, allocations: 3.984 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.00498, allocations: 4 kB / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.004981, allocations: 0 / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004982, allocations: 0 / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.178e-05/0.005023, allocations: 72.33 kB / 0.8812 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.005027, allocations: 0 / 0.8812 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-06/0.005033, allocations: 0 / 0.8812 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-06/0.005038, allocations: 3.984 kB / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.005049, allocations: 0 / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005051, allocations: 4.031 kB / 0.8812 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.005078, allocations: 127.2 kB / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005078, allocations: 0 / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001232/0.005201, allocations: 8 kB / 0.8814 GB, free: 2.797 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 (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 Backend phase and start with SimCode phase: time 0.0001499/0.005351, allocations: 127 kB / 0.8815 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.005417, allocations: 11.69 kB / 0.8815 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005419, allocations: 4 kB / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.005424, allocations: 7.688 kB / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.489e-05/0.005509, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.005679, allocations: 87.95 kB / 0.8816 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.005708, allocations: 55.34 kB / 0.8816 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.646e-06/0.005716, allocations: 0 / 0.8816 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.00573, allocations: 12.5 kB / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.00573, allocations: 0 / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.002074/0.007804, allocations: 473.7 kB / 0.8821 GB, free: 1.969 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.128788830246776]