Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001368/0.001368, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001513/0.001513, allocations: 165 kB / 24.17 MB, free: 328 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.9513/0.9513, allocations: 177.1 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.981/1.981, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 4.766 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.622e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002001/0.002017, allocations: 1.499 MB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003698/0.002387, allocations: 249.2 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.002407, allocations: 0 / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.002431, allocations: 3.938 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.002467, allocations: 9.516 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.002737, allocations: 57.94 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.002786, allocations: 19.61 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.002846, allocations: 12.97 kB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.00289, allocations: 9.641 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.002919, allocations: 8.516 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.002927, allocations: 0.6562 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.003036, allocations: 58.38 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.003049, allocations: 4.984 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.003063, allocations: 8.641 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003164, allocations: 61.72 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-06/0.003165, allocations: 0 / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003166, allocations: 0.8438 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.003168, allocations: 0 / 0.762 GB, free: 4.648 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.0002467/0.003415, allocations: 239 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.003443, allocations: 8.031 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.003465, allocations: 8.938 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.806e-05/0.003533, allocations: 114.8 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.003541, allocations: 384 / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.003549, allocations: 384 / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.619e-05/0.003625, allocations: 51.52 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.003633, allocations: 6.562 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-06/0.003638, allocations: 384 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003642, allocations: 384 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.00366, allocations: 7.938 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.00382, allocations: 148.3 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.219e-05/0.003852, allocations: 19.8 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.003864, allocations: 9.906 kB / 0.7625 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.004092, allocations: 74 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.00411, allocations: 35.62 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004111, allocations: 4 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.295e-05/0.004194, allocations: 34.75 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.004219, allocations: 59.34 kB / 0.7627 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.004265, allocations: 102.7 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.004273, allocations: 26.36 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.004298, allocations: 80.14 kB / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.004313, allocations: 13.77 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.004332, allocations: 13.72 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.004402, allocations: 314.8 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.004407, allocations: 1.031 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.004415, allocations: 3.938 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.004435, allocations: 21.77 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.004436, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.159e-05/0.004468, allocations: 31.7 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.004478, allocations: 9.562 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.004481, allocations: 2.75 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004491, allocations: 0 / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.004532, allocations: 11.92 kB / 0.7633 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.004534, allocations: 0 / 0.7633 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.004549, allocations: 4 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-06/0.004552, allocations: 0 / 0.7634 GB, free: 3.082 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.249e-05/0.004594, allocations: 114.4 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.004607, allocations: 10.53 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.004653, allocations: 40.98 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.004655, allocations: 0 / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.004657, allocations: 3.938 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.004659, allocations: 192 / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.004726, allocations: 71 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004727, allocations: 0.5625 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.004743, allocations: 13.06 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.004744, allocations: 0 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-06/0.004747, allocations: 0 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004747, allocations: 0.875 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.004747, allocations: 0 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.991e-05/0.004807, allocations: 145.8 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-06/0.004812, allocations: 3.953 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-06/0.004818, allocations: 0 / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.708e-05/0.004845, allocations: 4.656 kB / 0.7637 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.004865, allocations: 3.984 kB / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.004867, allocations: 0 / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.057e-05/0.004877, allocations: 16.78 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004877, allocations: 2.438 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001208/0.004998, allocations: 12 kB / 0.7638 GB, free: 2.609 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.0001147/0.005113, allocations: 106.1 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.732e-05/0.00516, allocations: 16.8 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.005162, allocations: 0 / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.005176, allocations: 14.31 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.005276, allocations: 7.938 kB / 0.7639 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.005438, allocations: 109.2 kB / 0.764 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.578e-05/0.005463, allocations: 51.36 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.005475, allocations: 0 / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.005507, allocations: 51.38 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.005507, allocations: 0 / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.002061/0.007568, allocations: 0.7007 MB / 0.7648 GB, free: 1.527 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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: 5.0069882408715785]