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.0008814/0.0008814, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009447/0.0009447, allocations: 169 kB / 23.02 MB, free: 1.547 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.9551/0.9551, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 2.044e-06/2.044e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.348e-05, allocations: 7.281 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00189/0.001924, allocations: 0.6045 MB / 0.8788 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.002422, allocations: 171.5 kB / 0.879 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.002438, allocations: 0 / 0.879 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.002463, allocations: 5.312 kB / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-06/0.00247, allocations: 0 / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.002907, allocations: 48.7 kB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.002953, allocations: 9.812 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.002993, allocations: 4 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.003019, allocations: 0 / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.00304, allocations: 3.406 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.00305, allocations: 0.6562 kB / 0.8791 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.003241, allocations: 57.08 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.003255, allocations: 4 kB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.003271, allocations: 0 / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.003413, allocations: 44.52 kB / 0.8792 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003416, allocations: 0 / 0.8792 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003417, allocations: 0 / 0.8792 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003421, allocations: 0 / 0.8792 GB, free: 5.375 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.0003031/0.003724, allocations: 342.1 kB / 0.8795 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.003772, allocations: 8.031 kB / 0.8795 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.003813, allocations: 6.375 kB / 0.8795 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.00389, allocations: 116.5 kB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003903, allocations: 384 / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.003917, allocations: 384 / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.004021, allocations: 31.8 kB / 0.8796 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.004035, allocations: 4.172 kB / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.004047, allocations: 384 / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.004057, allocations: 4.312 kB / 0.8796 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.004077, allocations: 7.938 kB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.004212, allocations: 108.6 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.004266, allocations: 27 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.004288, allocations: 11.69 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.004779, allocations: 76 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.004806, allocations: 37.39 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.004808, allocations: 0 / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.004948, allocations: 37.7 kB / 0.8799 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.00498, allocations: 55.34 kB / 0.88 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.00503, allocations: 142.2 kB / 0.8801 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005041, allocations: 25.7 kB / 0.8801 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.00508, allocations: 126.9 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.005111, allocations: 4.297 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.005143, allocations: 23.36 kB / 0.8803 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.005289, allocations: 0.4883 MB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.0053, allocations: 4.125 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.005308, allocations: 4 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.005343, allocations: 7.688 kB / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.005347, allocations: 4 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.52e-05/0.005412, allocations: 33.7 kB / 0.8808 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005426, allocations: 4 kB / 0.8808 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.005433, allocations: 7.922 kB / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.00545, allocations: 0 / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.005498, allocations: 0 / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005503, allocations: 4.094 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.005517, allocations: 11.88 kB / 0.8808 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.005522, allocations: 0 / 0.8808 GB, free: 3.438 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 7.324e-05/0.005596, allocations: 152.6 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.005614, allocations: 4 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.167e-05/0.005706, allocations: 40.69 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005708, allocations: 0 / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005711, allocations: 0 / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005714, allocations: 0 / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.853e-05/0.005793, allocations: 108.6 kB / 0.8811 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.005795, allocations: 32 / 0.8811 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.00581, allocations: 11.94 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.005813, allocations: 0 / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.005819, allocations: 0 / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.005823, allocations: 3.938 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005825, allocations: 0 / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/0.005907, allocations: 76.38 kB / 0.8812 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.005912, allocations: 0 / 0.8812 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.005922, allocations: 0 / 0.8812 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-06/0.005928, allocations: 0 / 0.8812 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.005943, allocations: 4 kB / 0.8812 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005946, allocations: 4.031 kB / 0.8812 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.005983, allocations: 119.2 kB / 0.8813 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.005983, allocations: 0 / 0.8813 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002434/0.006226, allocations: 15.98 kB / 0.8814 GB, free: 2.832 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.0002057/0.006432, allocations: 119.1 kB / 0.8815 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.006515, allocations: 27.61 kB / 0.8815 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006517, allocations: 0 / 0.8815 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-06/0.006525, allocations: 7.688 kB / 0.8815 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.006679, allocations: 4 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.006887, allocations: 79.95 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.006924, allocations: 55.36 kB / 0.8816 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.006936, allocations: 4 kB / 0.8816 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.006953, allocations: 8.5 kB / 0.8817 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.006953, allocations: 0 / 0.8817 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of Templates: time 0.002652/0.009605, allocations: 436.6 kB / 0.8821 GB, free: 2.039 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.439776181709021]