Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009817/0.0009817, allocations: 91.58 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.001431/0.001431, allocations: 165 kB / 23.82 MB, free: 0.7461 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.971/0.971, allocations: 177.2 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.815/1.815, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.926e-05, allocations: 7.094 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001987/0.002016, allocations: 1.492 MB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004087/0.002425, allocations: 245.6 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.00245, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.002479, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.002532, allocations: 7.984 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.002871, allocations: 55.75 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.002929, allocations: 20.72 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.003004, allocations: 7.984 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.003045, allocations: 13.14 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.003073, allocations: 7.984 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.003084, allocations: 4 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.003191, allocations: 57.41 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.003206, allocations: 11.94 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.003222, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003347, allocations: 59.84 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003349, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.964e-06/0.003351, allocations: 5.938 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003355, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 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.000328/0.003683, allocations: 364.5 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.003715, allocations: 8.031 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.003748, allocations: 6.406 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.003825, allocations: 120.5 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.003836, allocations: 384 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.003843, allocations: 384 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.003952, allocations: 56.08 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003959, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003968, allocations: 4.375 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.003975, allocations: 0.9062 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.004, allocations: 7.938 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.004246, allocations: 252.3 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.004295, allocations: 35.95 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.004316, allocations: 11.75 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.004602, allocations: 74.59 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.004623, allocations: 37.39 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.004624, allocations: 1.156 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.004756, allocations: 49.53 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.00478, allocations: 51.41 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.004842, allocations: 158.8 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004852, allocations: 29.7 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.004888, allocations: 131.4 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.004903, allocations: 4.859 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004927, allocations: 19.38 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005028, allocations: 0.4884 MB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.00504, allocations: 0.8438 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.005049, allocations: 5.281 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.005073, allocations: 11.69 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005074, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.75e-05/0.005122, allocations: 42.39 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.005132, allocations: 4 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005137, allocations: 8.812 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.005149, allocations: 3.984 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.005203, allocations: 5.562 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.005208, allocations: 0 / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.005224, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.005227, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 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.33e-05/0.005281, allocations: 157.6 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.005295, allocations: 7.984 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.005367, allocations: 52.08 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00537, allocations: 4 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.005374, allocations: 3.984 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005376, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.325e-05/0.00547, allocations: 112.6 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005471, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.005491, allocations: 7.984 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.005493, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.0055, allocations: 0.5 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005502, allocations: 3.938 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.005503, allocations: 1.312 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.005589, allocations: 191.9 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.005593, allocations: 1.094 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.005603, allocations: 4 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/0.005631, allocations: 3.938 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.005662, allocations: 0.6562 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.005664, allocations: 7.938 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.005698, allocations: 125.5 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005698, allocations: 4 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001539/0.005852, allocations: 12 kB / 0.8161 GB, free: 12.84 MB / 0.7761 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.0001513/0.006003, allocations: 122.2 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.006085, allocations: 15.69 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006086, allocations: 0 / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.006103, allocations: 11.69 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.006262, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.00648, allocations: 120.3 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.006511, allocations: 59.2 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.464e-05/0.006526, allocations: 4 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.006544, allocations: 9.625 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.006544, allocations: 0 / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.002321/0.008865, allocations: 0.7554 MB / 0.8171 GB, free: 11.71 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.969680487178266]