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.001495/0.001495, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001532/0.001532, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.83/1.83, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.282e-06/1.282e-06, allocations: 0 / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.654e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00128/0.001296, allocations: 0.5882 MB / 0.8134 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.004673, allocations: 189.4 kB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.004688, allocations: 5.562 kB / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.004702, allocations: 0 / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/0.004708, allocations: 0 / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.005041, allocations: 51.81 kB / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.33e-05/0.005075, allocations: 9.156 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.005108, allocations: 0 / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.005128, allocations: 0 / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.005148, allocations: 0.625 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-06/0.005155, allocations: 0 / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.0053, allocations: 64.95 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.005311, allocations: 0 / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 8.706e-06/0.00532, allocations: 0 / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.005421, allocations: 48.73 kB / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005423, allocations: 0 / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005424, allocations: 0 / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.005427, allocations: 1.25 kB / 0.8138 GB, free: 464 kB / 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.0002223/0.005649, allocations: 352.3 kB / 0.8141 GB, free: 72 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.005682, allocations: 8.031 kB / 0.8141 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.005704, allocations: 2.406 kB / 0.8141 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.857e-05/0.005772, allocations: 104.6 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.005783, allocations: 4.375 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-06/0.005787, allocations: 384 / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.745e-05/0.005845, allocations: 31.75 kB / 0.8142 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.00585, allocations: 192 / 0.8142 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.005856, allocations: 4.375 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.005861, allocations: 384 / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.042e-05/0.005871, allocations: 13.83 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.852e-05/0.005949, allocations: 93.2 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/0.005982, allocations: 27.09 kB / 0.8144 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.005994, allocations: 7.688 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.00634, allocations: 74.73 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.006363, allocations: 33.39 kB / 0.8145 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.006365, allocations: 0.5938 kB / 0.8145 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.418e-05/0.006459, allocations: 42.25 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.006485, allocations: 55.41 kB / 0.8146 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.006525, allocations: 148.2 kB / 0.8147 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.006533, allocations: 25.7 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.006565, allocations: 126.9 kB / 0.8149 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.006589, allocations: 0 / 0.8149 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.006614, allocations: 19.38 kB / 0.8149 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.006738, allocations: 496.6 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.006744, allocations: 0 / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.006748, allocations: 0.7188 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.006772, allocations: 17.02 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006774, allocations: 0 / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.346e-05/0.006817, allocations: 38.25 kB / 0.8154 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006831, allocations: 10.5 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.006834, allocations: 1.125 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.994e-06/0.006841, allocations: 0 / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/0.006867, allocations: 4 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.006869, allocations: 0.75 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-06/0.006878, allocations: 352 / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.006883, allocations: 4.719 kB / 0.8154 GB, free: 14.57 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 7.001e-05/0.006953, allocations: 157.8 kB / 0.8156 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-06/0.006958, allocations: 0 / 0.8156 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.007006, allocations: 40.64 kB / 0.8156 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.007007, allocations: 0.8125 kB / 0.8156 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007008, allocations: 3.938 kB / 0.8156 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007011, allocations: 4 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.007073, allocations: 94.14 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007074, allocations: 0 / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-06/0.00708, allocations: 1.344 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.007081, allocations: 0 / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-06/0.007084, allocations: 4 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007086, allocations: 3.984 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007087, allocations: 0.9688 kB / 0.8157 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.222e-05/0.007139, allocations: 68.39 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-06/0.007143, allocations: 6.312 kB / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.00715, allocations: 4 kB / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-06/0.007155, allocations: 0 / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.007164, allocations: 3.984 kB / 0.8158 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.007166, allocations: 3.938 kB / 0.8158 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.007196, allocations: 123.2 kB / 0.8159 GB, free: 14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007196, allocations: 3.438 kB / 0.8159 GB, free: 14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003195/0.01039, allocations: 15.88 kB / 0.816 GB, free: 13.98 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.0001377/0.01053, allocations: 115.2 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.022e-05/0.01058, allocations: 12.41 kB / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01058, allocations: 0 / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-06/0.01059, allocations: 8.188 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.0107, allocations: 8.5 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001262/0.01082, allocations: 88.58 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.01085, allocations: 56.78 kB / 0.8162 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.039e-05/0.01086, allocations: 4 kB / 0.8162 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.01089, allocations: 66.2 kB / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of SimCode: time 3.7e-07/0.01089, allocations: 0 / 0.8163 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.002193/0.01308, allocations: 491.7 kB / 0.8168 GB, free: 13.11 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.9302878878079355]