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.0008912/0.0008912, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009171/0.0009171, allocations: 161 kB / 24.17 MB, free: 332 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.9347/0.9347, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.322e-06/1.322e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.52e-05, allocations: 2.969 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001649/0.001664, allocations: 1.511 MB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003916/0.002055, allocations: 259.5 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.002078, allocations: 0 / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.002101, allocations: 1.125 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.002139, allocations: 1.859 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.002452, allocations: 65.83 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.002502, allocations: 15.42 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.002567, allocations: 13.38 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.002626, allocations: 12.66 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.002657, allocations: 6 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.002667, allocations: 4 kB / 0.7619 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.002771, allocations: 65.05 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002784, allocations: 4.984 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.002797, allocations: 6.875 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002901, allocations: 61.05 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002902, allocations: 0 / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002903, allocations: 0 / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.002905, allocations: 1.219 kB / 0.762 GB, free: 4.668 MB / 0.7136 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.0002492/0.003155, allocations: 233.8 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.003182, allocations: 11.97 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.003204, allocations: 6.188 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.787e-05/0.003272, allocations: 105.8 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003281, allocations: 4.375 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.003291, allocations: 5.188 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.003369, allocations: 54.94 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.003374, allocations: 1.438 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.00338, allocations: 384 / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.003386, allocations: 5.109 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.003403, allocations: 11.92 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.003567, allocations: 149 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.397e-05/0.003601, allocations: 19.39 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.003613, allocations: 5.625 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.003858, allocations: 82.61 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.003875, allocations: 30.56 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003876, allocations: 1.156 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.726e-05/0.003963, allocations: 37.64 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.003987, allocations: 56.59 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.634e-05/0.004033, allocations: 106.7 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.004041, allocations: 26.58 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.004068, allocations: 84.14 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.004081, allocations: 8.578 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.004103, allocations: 20.47 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003501/0.004453, allocations: 318.8 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-06/0.004461, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.004468, allocations: 4 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.004488, allocations: 8.859 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00449, allocations: 0.6562 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.636e-05/0.004536, allocations: 44.59 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.004545, allocations: 4 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.004549, allocations: 0 / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.004561, allocations: 0 / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.004607, allocations: 11.94 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.004611, allocations: 4.969 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.004624, allocations: 0 / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004629, allocations: 4 kB / 0.7634 GB, free: 3.09 MB / 0.7136 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 4.306e-05/0.004672, allocations: 111.3 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.004682, allocations: 0 / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.004736, allocations: 48.94 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004737, allocations: 0.6562 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.004739, allocations: 5.906 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.004742, allocations: 0 / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.326e-05/0.004815, allocations: 66.55 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004815, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.004831, allocations: 4 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.004833, allocations: 4 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-06/0.004836, allocations: 2.438 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.004836, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004837, allocations: 1.094 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.639e-05/0.004894, allocations: 135.5 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-06/0.004899, allocations: 3.953 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.004907, allocations: 7.984 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.004934, allocations: 6.281 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.004957, allocations: 7.938 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.004959, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.096e-05/0.00497, allocations: 16.95 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.00497, allocations: 4 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001229/0.005092, allocations: 15.94 kB / 0.7638 GB, free: 2.617 MB / 0.7136 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.0001228/0.005215, allocations: 103.3 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.744e-05/0.005263, allocations: 12.86 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005264, allocations: 0 / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.005275, allocations: 8.859 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.00538, allocations: 6.438 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.005556, allocations: 108.6 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.681e-05/0.005583, allocations: 59.34 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.169e-05/0.005595, allocations: 0 / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.005626, allocations: 56.88 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.005626, allocations: 0 / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.001938/0.007564, allocations: 0.6997 MB / 0.7648 GB, free: 1.539 MB / 0.7136 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.994749334640801]