Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001021/0.001021, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001202/0.001202, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9735/0.9735, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.855/1.855, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.819e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001968/0.001996, allocations: 1.49 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.002416, allocations: 244.7 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.00244, allocations: 0 / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.002471, allocations: 4.844 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.002512, allocations: 0 / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.002849, allocations: 68.19 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.002914, allocations: 25.08 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.81e-05/0.002992, allocations: 7.984 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.003036, allocations: 8 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.003067, allocations: 8.547 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.003078, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.003194, allocations: 64.55 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.003207, allocations: 4 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.003224, allocations: 8.844 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.003357, allocations: 59.84 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003359, allocations: 0.6562 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00336, allocations: 0 / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.003364, allocations: 3.5 kB / 0.789 GB, free: 10.49 MB / 0.7448 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.0003112/0.003675, allocations: 360.6 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.003708, allocations: 8.031 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.003742, allocations: 12.83 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.003818, allocations: 112.6 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.003833, allocations: 4.375 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.003844, allocations: 384 / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.003952, allocations: 58.89 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.00396, allocations: 0.6875 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.003968, allocations: 384 / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.003975, allocations: 1 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.004003, allocations: 13.58 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.004247, allocations: 243.9 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.00429, allocations: 27.06 kB / 0.7898 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.004312, allocations: 15.69 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.004616, allocations: 78.88 kB / 0.7899 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.004635, allocations: 33.39 kB / 0.79 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004636, allocations: 0 / 0.79 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.004767, allocations: 54.33 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.004793, allocations: 53.25 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.004855, allocations: 157.9 kB / 0.7902 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.004864, allocations: 25.7 kB / 0.7902 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.004899, allocations: 126.9 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.004917, allocations: 15.88 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.004941, allocations: 20 kB / 0.7904 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.005037, allocations: 496.1 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.005049, allocations: 4.625 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-06/0.005058, allocations: 1.219 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.005082, allocations: 19.69 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005084, allocations: 4 kB / 0.7909 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.465e-05/0.005129, allocations: 39.59 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005139, allocations: 4 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005143, allocations: 3.938 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.005156, allocations: 4.984 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.005207, allocations: 4 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.005212, allocations: 7.938 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.005227, allocations: 5.016 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005231, allocations: 0 / 0.791 GB, free: 8.32 MB / 0.7448 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 5.341e-05/0.005285, allocations: 161.5 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005298, allocations: 3.938 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.005369, allocations: 46 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005371, allocations: 0 / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005374, allocations: 0 / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005376, allocations: 1.094 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.693e-05/0.005463, allocations: 116.6 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005464, allocations: 0 / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.005482, allocations: 8.844 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005484, allocations: 0 / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.005489, allocations: 2.219 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.005491, allocations: 3.938 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005492, allocations: 0 / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.283e-05/0.005575, allocations: 195.8 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-06/0.00558, allocations: 0 / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.005587, allocations: 2.781 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.005618, allocations: 11.92 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.005649, allocations: 0 / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.00565, allocations: 0 / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.005684, allocations: 127.2 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005684, allocations: 0 / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001659/0.00585, allocations: 19.94 kB / 0.7916 GB, free: 7.57 MB / 0.7448 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.0001319/0.005982, allocations: 113.4 kB / 0.7917 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.492e-05/0.006046, allocations: 20.17 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006048, allocations: 0.5312 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.006064, allocations: 16.31 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.006229, allocations: 11.44 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.006467, allocations: 122.2 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.006499, allocations: 52.05 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.006516, allocations: 5.062 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.006537, allocations: 12.5 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.006538, allocations: 0 / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.002299/0.008837, allocations: 0.7001 MB / 0.7927 GB, free: 6.492 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.105232662986964]