Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001211/0.001211, allocations: 161 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.9923/0.9923, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.845/1.845, allocations: 377.9 MB / 0.6236 GB, free: 8.516 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.58e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001408/0.001424, allocations: 0.6018 MB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000377/0.001801, allocations: 187.8 kB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.001812, allocations: 2.406 kB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.001829, allocations: 3.938 kB / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.001834, allocations: 0 / 0.8124 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.002177, allocations: 55.75 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.002213, allocations: 4 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.002243, allocations: 0 / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.002263, allocations: 0.9062 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.002279, allocations: 0 / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.002288, allocations: 0 / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.002434, allocations: 60.95 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.002446, allocations: 0 / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.002458, allocations: 0 / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.002567, allocations: 53.23 kB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002569, allocations: 0 / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00257, allocations: 0 / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002573, allocations: 0 / 0.8125 GB, free: 0.7344 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.0002381/0.002811, allocations: 354.2 kB / 0.8129 GB, free: 360 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.002845, allocations: 8.031 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.002874, allocations: 0.9375 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.988e-05/0.002934, allocations: 108.6 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.002943, allocations: 384 / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.002953, allocations: 1.969 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.136e-05/0.003024, allocations: 26.27 kB / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.003033, allocations: 192 / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.003041, allocations: 4.375 kB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.003049, allocations: 1.375 kB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.376e-05/0.003062, allocations: 7.875 kB / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.003157, allocations: 113.2 kB / 0.8131 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.003205, allocations: 27.62 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.00322, allocations: 7.688 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/0.003614, allocations: 78.2 kB / 0.8132 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.003636, allocations: 34.77 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.003637, allocations: 0 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.000105/0.003742, allocations: 37.62 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.003765, allocations: 52.56 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.869e-05/0.003804, allocations: 142.2 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003814, allocations: 29.7 kB / 0.8135 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.003845, allocations: 127.8 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.003868, allocations: 4 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.003893, allocations: 16.22 kB / 0.8137 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.004006, allocations: 0.4883 MB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.004013, allocations: 0.8438 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.004017, allocations: 0 / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.004044, allocations: 16.95 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004045, allocations: 0 / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.177e-05/0.004087, allocations: 38.83 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.004099, allocations: 10.59 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004103, allocations: 0 / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.004116, allocations: 4.938 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.004153, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.004158, allocations: 1.5 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.004167, allocations: 3.938 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.004172, allocations: 0 / 0.8142 GB, free: 14.83 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 5.79e-05/0.00423, allocations: 160.6 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-06/0.004236, allocations: 5.203 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.004293, allocations: 36.64 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004294, allocations: 3.094 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.004297, allocations: 0 / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.004299, allocations: 0 / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.575e-05/0.004355, allocations: 120.6 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.004356, allocations: 0 / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-06/0.004361, allocations: 0 / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.004365, allocations: 4 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004369, allocations: 0 / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004369, allocations: 4 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00437, allocations: 0.5 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.878e-05/0.004419, allocations: 69.53 kB / 0.8146 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.004425, allocations: 7.984 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.004434, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-06/0.004439, allocations: 1.031 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.004451, allocations: 3.938 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.004452, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.004481, allocations: 120.5 kB / 0.8147 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004481, allocations: 4 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000189/0.00467, allocations: 15.94 kB / 0.8148 GB, free: 14.22 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.0001506/0.004821, allocations: 123.5 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.004878, allocations: 11.69 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004879, allocations: 0 / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-06/0.004888, allocations: 7.688 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.005003, allocations: 4 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001592/0.005162, allocations: 90.92 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.005191, allocations: 55.3 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.827e-06/0.005199, allocations: 7.938 kB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.005212, allocations: 8.5 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.005212, allocations: 0 / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.001934/0.007147, allocations: 432.3 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.161977918818593]