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.001398/0.001398, allocations: 87.58 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.001623/0.001623, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9547/0.9547, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.824/1.824, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.673e-06/1.673e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.62e-05, allocations: 5.844 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001205/0.001231, allocations: 0.6043 MB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.001605, allocations: 189 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.001622, allocations: 1.406 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.001643, allocations: 3.938 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.001651, allocations: 0 / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.002031, allocations: 47.83 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.002076, allocations: 9.031 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.002111, allocations: 0 / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.002137, allocations: 3.984 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.002154, allocations: 0.6875 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.002164, allocations: 0 / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.002308, allocations: 60.78 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.00232, allocations: 0 / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.002334, allocations: 0.6562 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.002442, allocations: 47.92 kB / 0.8125 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002444, allocations: 5.844 kB / 0.8125 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002445, allocations: 0 / 0.8125 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.002449, allocations: 0 / 0.8125 GB, free: 0.7266 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.0002598/0.002708, allocations: 344.3 kB / 0.8129 GB, free: 360 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.002743, allocations: 8.031 kB / 0.8129 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.002777, allocations: 5.984 kB / 0.8129 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.831e-05/0.002835, allocations: 108.6 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.002846, allocations: 4.375 kB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.002853, allocations: 1.344 kB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.35e-05/0.002927, allocations: 26.27 kB / 0.813 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.002934, allocations: 0.9375 kB / 0.813 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.002941, allocations: 384 / 0.813 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.002949, allocations: 5.25 kB / 0.813 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.273e-05/0.002961, allocations: 3.938 kB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.264e-05/0.003054, allocations: 109.8 kB / 0.8131 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.003103, allocations: 31.08 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.003118, allocations: 7.688 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.003489, allocations: 78.89 kB / 0.8132 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.003509, allocations: 33.39 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.00351, allocations: 0 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.003638, allocations: 42.53 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.003663, allocations: 55.34 kB / 0.8134 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.56e-05/0.003699, allocations: 144 kB / 0.8135 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.003707, allocations: 25.7 kB / 0.8135 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.003736, allocations: 130.9 kB / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.00376, allocations: 0 / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.003781, allocations: 16.91 kB / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003882, allocations: 0.4883 MB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.003892, allocations: 4 kB / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.003896, allocations: 0 / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.003921, allocations: 12.19 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003923, allocations: 1.531 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.71e-05/0.00396, allocations: 37.62 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.003971, allocations: 4 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.003975, allocations: 0.5 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.003987, allocations: 4.844 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.004025, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.00403, allocations: 3.984 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-06/0.004038, allocations: 6.031 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.004043, allocations: 0 / 0.8142 GB, free: 14.82 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.309e-05/0.004096, allocations: 156.6 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-06/0.0041, allocations: 3.984 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.004158, allocations: 41.28 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.004159, allocations: 0.6875 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.004162, allocations: 0 / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004164, allocations: 4.5 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.961e-05/0.004214, allocations: 113.7 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.004216, allocations: 3.984 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/0.004222, allocations: 0 / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.004224, allocations: 4.812 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.004229, allocations: 0 / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00423, allocations: 4 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004231, allocations: 0.9375 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.525e-05/0.004276, allocations: 69.73 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.004283, allocations: 7.984 kB / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.00429, allocations: 0 / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-06/0.004293, allocations: 0 / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.004304, allocations: 4.75 kB / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.004305, allocations: 0 / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.00433, allocations: 121.2 kB / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00433, allocations: 0 / 0.8147 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001319/0.004462, allocations: 15.94 kB / 0.8147 GB, free: 14.21 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.000153/0.004615, allocations: 131.3 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.00468, allocations: 11.69 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.004682, allocations: 0 / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.004689, allocations: 11.69 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.204e-05/0.004781, allocations: 7.938 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001627/0.004943, allocations: 84.02 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.74e-05/0.004971, allocations: 55.34 kB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.867e-06/0.00498, allocations: 0.625 kB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.004993, allocations: 13.62 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.004993, allocations: 0 / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.002024/0.007018, allocations: 469.9 kB / 0.8155 GB, free: 13.41 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: 4.936609461437911]