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.001382/0.001382, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001113/0.001113, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9479/0.9479, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.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 1.433e-06/1.433e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.431e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001797/0.001811, allocations: 1.5 MB / 0.8809 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004232/0.002234, allocations: 230.4 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.002259, allocations: 0.6562 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.002287, allocations: 7.922 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.002325, allocations: 7.453 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.00261, allocations: 57.34 kB / 0.8812 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.002664, allocations: 23.92 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.862e-05/0.002733, allocations: 6.406 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.002782, allocations: 15.92 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.002811, allocations: 4 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.00282, allocations: 0 / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.002932, allocations: 59.92 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.002946, allocations: 4 kB / 0.8813 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.002961, allocations: 11.88 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003082, allocations: 61.97 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003084, allocations: 0 / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.7e-07/0.003084, allocations: 0 / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003088, allocations: 0 / 0.8813 GB, free: 4.059 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.0003038/0.003392, allocations: 368.5 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.003424, allocations: 8.75 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.003452, allocations: 8.938 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.003532, allocations: 114.2 kB / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.003542, allocations: 384 / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.003549, allocations: 4.375 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.003641, allocations: 50.89 kB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003647, allocations: 5.375 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.003653, allocations: 384 / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003658, allocations: 384 / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.003677, allocations: 11.94 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.003871, allocations: 232.5 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.003909, allocations: 27.06 kB / 0.8821 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.003924, allocations: 11.75 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.004179, allocations: 79.84 kB / 0.8822 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.004198, allocations: 37.33 kB / 0.8822 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004199, allocations: 8 kB / 0.8823 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001061/0.004305, allocations: 41.62 kB / 0.8823 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.00433, allocations: 51.41 kB / 0.8823 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.004387, allocations: 157.9 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.004395, allocations: 25.7 kB / 0.8825 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.004434, allocations: 134.9 kB / 0.8826 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.00445, allocations: 7.953 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.004475, allocations: 19.36 kB / 0.8827 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.004573, allocations: 496.1 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.004582, allocations: 3.938 kB / 0.8832 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.004589, allocations: 4.125 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.004609, allocations: 11.69 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.00461, allocations: 0 / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.504e-05/0.004655, allocations: 41.69 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.004669, allocations: 8 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.004672, allocations: 0 / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.004682, allocations: 3.938 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.004721, allocations: 4 kB / 0.8832 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.004723, allocations: 0 / 0.8832 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.004741, allocations: 19.97 kB / 0.8832 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.004744, allocations: 0 / 0.8832 GB, free: 1.902 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 4.67e-05/0.00479, allocations: 156.5 kB / 0.8834 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.004806, allocations: 4 kB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.004861, allocations: 41 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.004865, allocations: 7.938 kB / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.004866, allocations: 0 / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.004869, allocations: 0 / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.851e-05/0.004958, allocations: 101.2 kB / 0.8835 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004959, allocations: 0 / 0.8835 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.004976, allocations: 8.031 kB / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.004978, allocations: 0 / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-06/0.004982, allocations: 0 / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004982, allocations: 0 / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004983, allocations: 0 / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.905e-05/0.005062, allocations: 199.8 kB / 0.8837 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.005067, allocations: 3.938 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.005074, allocations: 0 / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.005104, allocations: 4 kB / 0.8837 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.005128, allocations: 3.984 kB / 0.8837 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.005131, allocations: 7.969 kB / 0.8838 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.802e-05/0.005159, allocations: 123.2 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005159, allocations: 0 / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001623/0.005321, allocations: 23.95 kB / 0.8839 GB, free: 1.168 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.0001189/0.00544, allocations: 115.2 kB / 0.884 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.847e-05/0.005499, allocations: 19.62 kB / 0.884 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.0055, allocations: 0 / 0.884 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.005515, allocations: 15.67 kB / 0.884 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.005672, allocations: 6.5 kB / 0.884 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.005845, allocations: 106.4 kB / 0.8841 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.005878, allocations: 59.3 kB / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.005892, allocations: 0 / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.005926, allocations: 70.33 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/0.005927, allocations: 4 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of Templates: time 0.002101/0.008028, allocations: 0.7852 MB / 0.885 GB, free: 15.93 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.251113730017096]