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.001309/0.001309, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001493/0.001493, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9497/0.9497, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.214/2.214, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.445e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001179/0.001203, allocations: 0.6089 MB / 0.8788 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.001558, allocations: 172.1 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.001574, allocations: 4.875 kB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.00159, allocations: 3.938 kB / 0.879 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.001597, allocations: 0.5938 kB / 0.879 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.00193, allocations: 53.66 kB / 0.8791 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.001971, allocations: 0 / 0.8791 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.002008, allocations: 1.094 kB / 0.8791 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.002032, allocations: 4 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.002054, allocations: 0.6562 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.002065, allocations: 0.6562 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.002206, allocations: 56.75 kB / 0.8791 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.002221, allocations: 9.172 kB / 0.8791 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.002237, allocations: 4 kB / 0.8791 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002354, allocations: 39.88 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.002356, allocations: 0.9375 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002357, allocations: 0 / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.002361, allocations: 1.031 kB / 0.8792 GB, free: 5.676 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.0005599/0.002921, allocations: 348.4 kB / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.002957, allocations: 8.031 kB / 0.8795 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.00299, allocations: 2.062 kB / 0.8795 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.003051, allocations: 112.6 kB / 0.8796 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.003062, allocations: 384 / 0.8796 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.00307, allocations: 1.719 kB / 0.8796 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.436e-05/0.003145, allocations: 26.27 kB / 0.8796 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.00315, allocations: 4.188 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.003158, allocations: 3.812 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003165, allocations: 4.359 kB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.33e-05/0.003179, allocations: 3.938 kB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.42e-05/0.003273, allocations: 112.6 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.003313, allocations: 27 kB / 0.8798 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.003328, allocations: 7.688 kB / 0.8798 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.003695, allocations: 77.08 kB / 0.8799 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.003715, allocations: 33.89 kB / 0.8799 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.003717, allocations: 0 / 0.8799 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.003832, allocations: 35.19 kB / 0.8799 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.003858, allocations: 59.34 kB / 0.88 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.003893, allocations: 142.2 kB / 0.8801 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-06/0.003901, allocations: 26.89 kB / 0.8802 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.003925, allocations: 126.9 kB / 0.8803 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.003955, allocations: 8.297 kB / 0.8803 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.003977, allocations: 23.5 kB / 0.8803 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.004094, allocations: 496.1 kB / 0.8808 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.004104, allocations: 3.938 kB / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-06/0.004108, allocations: 0 / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.004137, allocations: 19.67 kB / 0.8808 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.004139, allocations: 0 / 0.8808 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.182e-05/0.004181, allocations: 33.7 kB / 0.8808 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.004195, allocations: 8 kB / 0.8808 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.004199, allocations: 3.938 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.004211, allocations: 4.094 kB / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.004255, allocations: 0 / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.00426, allocations: 0 / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.004271, allocations: 11.88 kB / 0.8809 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004275, allocations: 0 / 0.8809 GB, free: 3.746 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 6.108e-05/0.004336, allocations: 156.6 kB / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-06/0.00434, allocations: 3.984 kB / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.004404, allocations: 32.7 kB / 0.8811 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004406, allocations: 0 / 0.8811 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00441, allocations: 4 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.004412, allocations: 4.031 kB / 0.8811 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.862e-05/0.004471, allocations: 116.6 kB / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004472, allocations: 0 / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.868e-06/0.004482, allocations: 4 kB / 0.8812 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.004484, allocations: 0 / 0.8812 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.00449, allocations: 0 / 0.8812 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004491, allocations: 3.938 kB / 0.8812 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004492, allocations: 0 / 0.8812 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.333e-05/0.004545, allocations: 72.38 kB / 0.8812 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.004549, allocations: 0 / 0.8812 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.004557, allocations: 0 / 0.8812 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-06/0.004561, allocations: 4.031 kB / 0.8812 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.004574, allocations: 0 / 0.8812 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004575, allocations: 4 kB / 0.8813 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.004606, allocations: 119.2 kB / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004606, allocations: 0 / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001364/0.004743, allocations: 16 kB / 0.8814 GB, free: 3.141 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.0001511/0.004894, allocations: 123.1 kB / 0.8815 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.283e-05/0.004956, allocations: 19.56 kB / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.004958, allocations: 0 / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.004963, allocations: 7.688 kB / 0.8815 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.567e-05/0.005059, allocations: 4 kB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.005237, allocations: 87.94 kB / 0.8816 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005267, allocations: 51.36 kB / 0.8817 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.092e-05/0.005278, allocations: 8 kB / 0.8817 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.005291, allocations: 8.625 kB / 0.8817 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/0.005292, allocations: 4 kB / 0.8817 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Templates: time 0.001994/0.007286, allocations: 438.3 kB / 0.8821 GB, free: 2.34 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.253997375955805]