Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001031/0.001031, allocations: 77.88 kB / 20.68 MB, free: 3.824 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.001182/0.001182, allocations: 180.9 kB / 24.09 MB, free: 424 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.9783/0.9783, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.975/1.975, allocations: 377.9 MB / 0.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.746e-05, allocations: 10.25 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002072/0.00209, allocations: 1.49 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004413/0.002531, allocations: 248.8 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.002558, allocations: 0 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.002584, allocations: 5.469 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.002624, allocations: 7.938 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.002929, allocations: 59.75 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.002981, allocations: 25.52 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.003052, allocations: 4 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.003109, allocations: 11.98 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.00314, allocations: 7.984 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.00315, allocations: 1.031 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.003275, allocations: 67.81 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.003287, allocations: 3.984 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.341e-05/0.003301, allocations: 4.781 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003431, allocations: 67.78 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003433, allocations: 1.031 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003433, allocations: 0 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003437, allocations: 0 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003018/0.003739, allocations: 357.8 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.003776, allocations: 16.03 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.003802, allocations: 0.9375 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.003873, allocations: 114 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.003884, allocations: 8.312 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.003889, allocations: 384 / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.00398, allocations: 56.69 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.003987, allocations: 192 / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-06/0.003992, allocations: 384 / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003998, allocations: 4.375 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.004017, allocations: 3.938 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.004224, allocations: 229.7 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/0.004267, allocations: 31 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.004284, allocations: 16.31 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.004575, allocations: 69.73 kB / 0.8148 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.004598, allocations: 43.94 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004599, allocations: 0 / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001104/0.004709, allocations: 45.58 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.004868, allocations: 55.34 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.004929, allocations: 157.9 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.004938, allocations: 29.7 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.004975, allocations: 131.6 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.004991, allocations: 11.89 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.005021, allocations: 19.91 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.005127, allocations: 497.8 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.005134, allocations: 0 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.005143, allocations: 4 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.005166, allocations: 12.34 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005168, allocations: 3.938 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.684e-05/0.005224, allocations: 46.75 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005235, allocations: 4 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.005238, allocations: 0.75 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.00525, allocations: 3.938 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.005292, allocations: 8.594 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.005295, allocations: 0 / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.005313, allocations: 4.828 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.005318, allocations: 4 kB / 0.8159 GB, free: 13.33 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 (2): * Single equations (assignments): 2 * 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.485e-05/0.005373, allocations: 154.5 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.005391, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.005452, allocations: 45 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.005455, allocations: 3.938 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.005456, allocations: 0.6562 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005459, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.005557, allocations: 99.69 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.005559, allocations: 4 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.005581, allocations: 11.94 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005582, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.005586, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005586, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005587, allocations: 1.844 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.005674, allocations: 195.8 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.005679, allocations: 4 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005686, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.00573, allocations: 4 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.005753, allocations: 4.516 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.005756, allocations: 5.031 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.005787, allocations: 123.2 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005787, allocations: 0 / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002126/0.006, allocations: 16.75 kB / 0.8165 GB, free: 12.62 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 (2): * Single equations (assignments): 2 * 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.0001335/0.006134, allocations: 121 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/0.006186, allocations: 17.03 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006187, allocations: 0 / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.006204, allocations: 16.39 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.006402, allocations: 7.938 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/0.006581, allocations: 110.8 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.006615, allocations: 63.16 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.006629, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.006666, allocations: 70.2 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.006666, allocations: 0 / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.002272/0.008938, allocations: 0.7821 MB / 0.8177 GB, free: 11.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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.97485978435725]