Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000925/0.000925, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0008878/0.0008878, allocations: 165 kB / 23.82 MB, free: 0.75 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.9541/0.9541, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.793/1.793, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.854e-05, allocations: 7.094 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001015/0.001034, allocations: 0.6043 MB / 0.8122 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.001407, allocations: 169.1 kB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.001419, allocations: 0 / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.001435, allocations: 0 / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.001441, allocations: 1.531 kB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.001847, allocations: 55.75 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.001887, allocations: 0 / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.001919, allocations: 4 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.001942, allocations: 5.734 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.794e-05/0.00196, allocations: 0 / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.00197, allocations: 0 / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.002116, allocations: 59.88 kB / 0.8125 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.002127, allocations: 0 / 0.8125 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.002141, allocations: 5.094 kB / 0.8125 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.002249, allocations: 43.86 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002251, allocations: 0 / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002252, allocations: 1.594 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.002256, allocations: 4 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 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.0002502/0.002506, allocations: 340.4 kB / 0.8128 GB, free: 396 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.002545, allocations: 8.031 kB / 0.8128 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.002582, allocations: 11.53 kB / 0.8129 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.2e-05/0.002634, allocations: 104.6 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.002644, allocations: 384 / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.002651, allocations: 384 / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.002731, allocations: 34.2 kB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.002737, allocations: 192 / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.002746, allocations: 384 / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.002752, allocations: 1.094 kB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.351e-05/0.002766, allocations: 4.469 kB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.002866, allocations: 112.6 kB / 0.8131 GB, free: 56 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.002905, allocations: 28.72 kB / 0.8131 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.002921, allocations: 11.78 kB / 0.8131 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.003309, allocations: 69.73 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.003333, allocations: 41.39 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003334, allocations: 0 / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001086/0.003442, allocations: 30.86 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.003469, allocations: 55.39 kB / 0.8133 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.453e-05/0.003513, allocations: 143.6 kB / 0.8135 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.003524, allocations: 25.7 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.003551, allocations: 126.9 kB / 0.8136 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.003577, allocations: 0 / 0.8136 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.003604, allocations: 19.88 kB / 0.8136 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.003733, allocations: 0.4893 MB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.003744, allocations: 0 / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.003753, allocations: 12.78 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.003786, allocations: 7.688 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.003788, allocations: 0.8438 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.4e-05/0.003842, allocations: 37.69 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.003855, allocations: 6.188 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00386, allocations: 0 / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003871, allocations: 0 / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.003918, allocations: 4 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.003923, allocations: 0 / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.003933, allocations: 8.219 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.003938, allocations: 2.688 kB / 0.8142 GB, free: 14.86 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 (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.769e-05/0.004005, allocations: 160.5 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-06/0.004011, allocations: 4 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.004076, allocations: 44.64 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.004077, allocations: 0 / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.00408, allocations: 0 / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004083, allocations: 1.594 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.886e-05/0.004131, allocations: 108.6 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004132, allocations: 0 / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.004141, allocations: 4 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004143, allocations: 0.5 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.004149, allocations: 8.469 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00415, allocations: 0 / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004151, allocations: 1.562 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.8e-05/0.004199, allocations: 76.33 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-06/0.004203, allocations: 0 / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-06/0.00421, allocations: 0.875 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-06/0.004213, allocations: 4 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.004226, allocations: 3.984 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.004227, allocations: 0.6562 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.004253, allocations: 122.9 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004254, allocations: 0 / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001309/0.004384, allocations: 12 kB / 0.8147 GB, free: 14.25 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 (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.0001411/0.004525, allocations: 119.1 kB / 0.8148 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.181e-05/0.004587, allocations: 15.69 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004589, allocations: 5.719 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.004597, allocations: 15.62 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.142e-05/0.004688, allocations: 7.875 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.004859, allocations: 84.89 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.004888, allocations: 55.34 kB / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.865e-06/0.004896, allocations: 0 / 0.815 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.004908, allocations: 9.625 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of SimCode: time 3.1e-07/0.004908, allocations: 0 / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.001851/0.006759, allocations: 472.4 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.7787056639790535]