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.001122/0.001122, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001268/0.001268, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.9874/0.9874, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.523 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.743e-06/1.743e-06, allocations: 0 / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.468e-05, allocations: 2.312 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001476/0.001501, allocations: 0.5963 MB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000415/0.001916, allocations: 172.9 kB / 0.8123 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.001939, allocations: 0.875 kB / 0.8123 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.001956, allocations: 0 / 0.8123 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.001962, allocations: 3.938 kB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.002338, allocations: 52.59 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.00238, allocations: 4 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.002418, allocations: 1.688 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.002442, allocations: 4 kB / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.002464, allocations: 0 / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.002473, allocations: 0 / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.002633, allocations: 65.33 kB / 0.8125 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.002644, allocations: 0 / 0.8125 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.002658, allocations: 0 / 0.8125 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.002788, allocations: 43.88 kB / 0.8125 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00279, allocations: 5.375 kB / 0.8125 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.974e-06/0.002792, allocations: 3.984 kB / 0.8125 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.002796, allocations: 0 / 0.8125 GB, free: 1.078 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.0002588/0.003055, allocations: 336.4 kB / 0.8128 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.003093, allocations: 13.78 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.003129, allocations: 0.9375 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.003194, allocations: 112.6 kB / 0.8129 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003206, allocations: 4.359 kB / 0.813 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.003215, allocations: 4.375 kB / 0.813 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.96e-05/0.003294, allocations: 27.05 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.003301, allocations: 0.9375 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.003309, allocations: 384 / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.003317, allocations: 0.9375 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.003332, allocations: 7.938 kB / 0.813 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.003436, allocations: 106 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.003474, allocations: 35.02 kB / 0.8131 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.003491, allocations: 15.62 kB / 0.8131 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.003919, allocations: 70.53 kB / 0.8132 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.003945, allocations: 37.39 kB / 0.8132 GB, free: 204 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.003946, allocations: 0.5312 kB / 0.8132 GB, free: 204 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.00407, allocations: 34.42 kB / 0.8133 GB, free: 164 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.004099, allocations: 51.41 kB / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.004153, allocations: 146.7 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004162, allocations: 27.36 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.004194, allocations: 130.9 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.00422, allocations: 0 / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.00425, allocations: 19.36 kB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.004369, allocations: 0.4883 MB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.00438, allocations: 4.562 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.004385, allocations: 0.5938 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.004418, allocations: 12.47 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00442, allocations: 0 / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.771e-05/0.004467, allocations: 30.86 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.004482, allocations: 4 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004486, allocations: 0.6875 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.004498, allocations: 3.938 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.00454, allocations: 13.05 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.004546, allocations: 0 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.004557, allocations: 3.938 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.004563, allocations: 1.094 kB / 0.8142 GB, free: 15.17 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.653e-05/0.00463, allocations: 156.6 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.004635, allocations: 1.188 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.004702, allocations: 40.69 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004704, allocations: 2.219 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004707, allocations: 0 / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00471, allocations: 0 / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.892e-05/0.004768, allocations: 116.5 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004769, allocations: 0 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.004778, allocations: 0 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00478, allocations: 2.781 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.004784, allocations: 0 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.004785, allocations: 0 / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.004787, allocations: 11.88 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.875e-05/0.004846, allocations: 72.38 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.004852, allocations: 4 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.004861, allocations: 0 / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-06/0.004867, allocations: 1.594 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.004879, allocations: 0 / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.004881, allocations: 0 / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.955e-05/0.004911, allocations: 119.2 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.004911, allocations: 0.5938 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002026/0.005113, allocations: 19.92 kB / 0.8147 GB, free: 14.57 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.0001673/0.005281, allocations: 121.6 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.005346, allocations: 12.72 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005348, allocations: 4 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.005358, allocations: 16.33 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.005488, allocations: 0 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.005665, allocations: 84.67 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.005696, allocations: 55.08 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.005706, allocations: 0 / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.005722, allocations: 12.5 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.005722, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002298/0.00802, allocations: 431 kB / 0.8154 GB, free: 13.8 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.9799512550234795]