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.001247/0.001247, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009281/0.0009281, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.741/1.741, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.887e-06/1.013e-05, allocations: 2.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009966/0.001007, allocations: 0.5839 MB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003342/0.001341, allocations: 171.4 kB / 0.9817 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.001353, allocations: 0 / 0.9817 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.001366, allocations: 0 / 0.9817 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.001372, allocations: 0 / 0.9817 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.001706, allocations: 47.84 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.431e-05/0.001741, allocations: 4 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.001773, allocations: 0 / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.001795, allocations: 4 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.001811, allocations: 0 / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.001819, allocations: 4 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.001948, allocations: 63.8 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.001958, allocations: 0 / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.199e-05/0.00197, allocations: 0 / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.002069, allocations: 47.86 kB / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002071, allocations: 0 / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002071, allocations: 0 / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002074, allocations: 4 kB / 0.9819 GB, free: 1.586 MB / 0.9323 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.0002032/0.002277, allocations: 246.4 kB / 0.9822 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.002311, allocations: 8.031 kB / 0.9822 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.002338, allocations: 34.73 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.822e-05/0.002356, allocations: 0.9375 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.854e-05/0.002405, allocations: 101.8 kB / 0.9823 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.002413, allocations: 4.375 kB / 0.9823 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-06/0.002419, allocations: 4.359 kB / 0.9823 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.396e-05/0.002493, allocations: 30.2 kB / 0.9823 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.002498, allocations: 192 / 0.9823 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.002504, allocations: 4.375 kB / 0.9823 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00251, allocations: 8.125 kB / 0.9823 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.002524, allocations: 0 / 0.9823 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.721e-05/0.002622, allocations: 124.7 kB / 0.9825 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.161e-05/0.002653, allocations: 18.61 kB / 0.9825 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.002667, allocations: 4.859 kB / 0.9825 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.003036, allocations: 79.98 kB / 0.9826 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.003056, allocations: 38.44 kB / 0.9826 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.003057, allocations: 0 / 0.9826 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001078/0.003165, allocations: 33.69 kB / 0.9826 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.003192, allocations: 55.34 kB / 0.9827 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.424e-05/0.003217, allocations: 89.86 kB / 0.9828 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.003224, allocations: 29.7 kB / 0.9828 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.003243, allocations: 80.14 kB / 0.9829 GB, free: 448 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.003265, allocations: 7.938 kB / 0.9829 GB, free: 440 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.003286, allocations: 9.844 kB / 0.9829 GB, free: 424 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.003367, allocations: 318.8 kB / 0.9832 GB, free: 96 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.003374, allocations: 0 / 0.9832 GB, free: 96 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.003379, allocations: 0 / 0.9832 GB, free: 96 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.003402, allocations: 12.8 kB / 0.9832 GB, free: 80 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.003405, allocations: 4 kB / 0.9832 GB, free: 76 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.358e-05/0.003438, allocations: 37.69 kB / 0.9832 GB, free: 32 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.003451, allocations: 10.97 kB / 0.9833 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.003455, allocations: 0 / 0.9833 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.003466, allocations: 0 / 0.9833 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.003501, allocations: 4.094 kB / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.003507, allocations: 3.938 kB / 0.9833 GB, free: 16 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-06/0.003513, allocations: 0 / 0.9833 GB, free: 16 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.003519, allocations: 4 kB / 0.9833 GB, free: 12 kB / 0.9323 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.797e-05/0.003587, allocations: 109.8 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-06/0.00359, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.003652, allocations: 40.62 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.003654, allocations: 0 / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.003659, allocations: 3.938 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.003661, allocations: 4 kB / 0.9834 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.955e-05/0.003721, allocations: 120.8 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.003722, allocations: 0 / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-06/0.003728, allocations: 3.984 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00373, allocations: 4 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.003735, allocations: 0 / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.003736, allocations: 0 / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.003737, allocations: 3.938 kB / 0.9835 GB, free: 15.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.467e-05/0.003782, allocations: 57.08 kB / 0.9836 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-06/0.003785, allocations: 3.938 kB / 0.9836 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.003793, allocations: 3.984 kB / 0.9836 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-06/0.003797, allocations: 11.97 kB / 0.9836 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.003812, allocations: 3.938 kB / 0.9836 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.003814, allocations: 4 kB / 0.9836 GB, free: 15.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.003834, allocations: 75.28 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003834, allocations: 0 / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001321/0.003966, allocations: 8 kB / 0.9837 GB, free: 15.49 MB / 0.948 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.0002984/0.004265, allocations: 0.6125 MB / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.859e-05/0.004323, allocations: 11.92 kB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.004325, allocations: 0 / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.004328, allocations: 0 / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.004428, allocations: 7.938 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.004655, allocations: 102.7 kB / 0.9844 GB, free: 14.69 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.00469, allocations: 63.2 kB / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.336e-06/0.004698, allocations: 4 kB / 0.9845 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.004714, allocations: 8.625 kB / 0.9845 GB, free: 14.59 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/0.004714, allocations: 4 kB / 0.9845 GB, free: 14.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.0181, allocations: 1.787 MB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.752, allocations: 8.016 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.781852568499744]