Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001002/0.001002, 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.0009804/0.0009804, allocations: 173 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.945/0.945, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 1.997/1.997, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.117e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001401/0.001422, allocations: 0.6063 MB / 0.8788 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.00189, allocations: 184.3 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.001903, allocations: 0 / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.001927, allocations: 5.094 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.001934, allocations: 1.094 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.002343, allocations: 51.81 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.002388, allocations: 5.547 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.002428, allocations: 7.938 kB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.002452, allocations: 0 / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.968e-05/0.002472, allocations: 1.641 kB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.002481, allocations: 0 / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.002653, allocations: 64.3 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.002665, allocations: 1.125 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.00268, allocations: 0 / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002797, allocations: 43.92 kB / 0.8792 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002799, allocations: 1.094 kB / 0.8792 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002799, allocations: 3.938 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.002803, allocations: 0 / 0.8792 GB, free: 5.305 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.0002412/0.003044, allocations: 345 kB / 0.8795 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.003077, allocations: 8.031 kB / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.003109, allocations: 6.5 kB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.968e-05/0.003169, allocations: 112.6 kB / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003179, allocations: 384 / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.003186, allocations: 384 / 0.8796 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.003258, allocations: 27.89 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.003266, allocations: 4.172 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.003279, allocations: 4.375 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.003285, allocations: 384 / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.183e-05/0.003297, allocations: 4.906 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.24e-05/0.00339, allocations: 104.6 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.003428, allocations: 36.12 kB / 0.8798 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.003442, allocations: 11.67 kB / 0.8798 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/0.003793, allocations: 80.8 kB / 0.8799 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.003814, allocations: 37.39 kB / 0.8799 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.003814, allocations: 0 / 0.8799 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.003923, allocations: 37.62 kB / 0.88 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.003947, allocations: 51.41 kB / 0.88 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.412e-05/0.003981, allocations: 146.2 kB / 0.8801 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.00399, allocations: 29.7 kB / 0.8802 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.004015, allocations: 126.9 kB / 0.8803 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.00404, allocations: 5.609 kB / 0.8803 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.004063, allocations: 15.38 kB / 0.8803 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.004199, allocations: 0.4922 MB / 0.8808 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.004209, allocations: 0 / 0.8808 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.004215, allocations: 1.094 kB / 0.8808 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.004247, allocations: 11.88 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.00425, allocations: 8 kB / 0.8808 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.052e-05/0.004311, allocations: 37.62 kB / 0.8809 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.004325, allocations: 4 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00433, allocations: 0 / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.004344, allocations: 4 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.004387, allocations: 0 / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.004392, allocations: 0 / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.004404, allocations: 3.938 kB / 0.8809 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.00441, allocations: 0 / 0.8809 GB, free: 3.383 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.125e-05/0.004481, allocations: 160.6 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.004488, allocations: 8.016 kB / 0.881 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.004563, allocations: 32.7 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004565, allocations: 0 / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004568, allocations: 0 / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00457, allocations: 0 / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.812e-05/0.004638, allocations: 116.5 kB / 0.8812 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.004642, allocations: 3.984 kB / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.004653, allocations: 0 / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.004655, allocations: 0 / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.00466, allocations: 0 / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004661, allocations: 8.031 kB / 0.8812 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004662, allocations: 0 / 0.8812 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.233e-05/0.004725, allocations: 68.39 kB / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.004731, allocations: 7.984 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.00474, allocations: 0 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-06/0.004746, allocations: 0 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.004759, allocations: 0 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.004761, allocations: 3.938 kB / 0.8813 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.004797, allocations: 119.2 kB / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.004797, allocations: 0 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002105/0.005008, allocations: 15.94 kB / 0.8814 GB, free: 2.773 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.0001578/0.005165, allocations: 127.1 kB / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.005235, allocations: 11.69 kB / 0.8815 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005237, allocations: 0 / 0.8815 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.005243, allocations: 11.69 kB / 0.8815 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.647e-05/0.005329, allocations: 4.125 kB / 0.8815 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/0.005492, allocations: 88.02 kB / 0.8816 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.005521, allocations: 51.36 kB / 0.8817 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.041e-05/0.005532, allocations: 4 kB / 0.8817 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.005544, allocations: 8.5 kB / 0.8817 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.005544, allocations: 4 kB / 0.8817 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of Templates: time 0.001917/0.007461, allocations: 481.5 kB / 0.8821 GB, free: 1.934 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.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.143479506019503]