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.0008182/0.0008182, 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.000895/0.000895, allocations: 170.3 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.8672/0.8672, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.752/1.752, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.339e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001808/0.001821, allocations: 1.455 MB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.002198, allocations: 235.1 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.002222, allocations: 0 / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.002248, allocations: 7.938 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.291e-05/0.002281, allocations: 0 / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.002587, allocations: 62.44 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.002643, allocations: 19.92 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.002718, allocations: 4 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.002768, allocations: 15.92 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.002797, allocations: 4 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.002807, allocations: 4 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.00291, allocations: 59.86 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.002922, allocations: 11.94 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.002937, allocations: 11.92 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003055, allocations: 59.91 kB / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.003057, allocations: 0 / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003057, allocations: 0 / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003061, allocations: 0 / 0.9829 GB, free: 0.6406 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002986/0.00336, allocations: 270.2 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.003394, allocations: 8.031 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.00342, allocations: 38.75 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.003439, allocations: 4.891 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.003506, allocations: 109.8 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.003514, allocations: 4.375 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-06/0.003521, allocations: 384 / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.003633, allocations: 54.22 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.00364, allocations: 192 / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.003646, allocations: 4.312 kB / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.003651, allocations: 4.125 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.003744, allocations: 35.95 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.003995, allocations: 212.1 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.21e-05/0.004067, allocations: 38.56 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.00411, allocations: 24.84 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.004409, allocations: 79.84 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.004429, allocations: 38.44 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.00443, allocations: 4 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.004636, allocations: 81.64 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.004664, allocations: 51.41 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.004725, allocations: 101.9 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004735, allocations: 25.7 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.00477, allocations: 84.09 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.004785, allocations: 11.88 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.004809, allocations: 17.84 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.004882, allocations: 314.8 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.004921, allocations: 15.98 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.004958, allocations: 19.92 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.005062, allocations: 40.81 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005064, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.005178, allocations: 69.66 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.005189, allocations: 8 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005193, allocations: 0 / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005204, allocations: 0 / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.005252, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.005258, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.00528, allocations: 7.984 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.005284, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 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.175e-05/0.005336, allocations: 117.8 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.005349, allocations: 7.938 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.005467, allocations: 68.95 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005468, allocations: 0 / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005472, allocations: 0 / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005474, allocations: 0 / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.005571, allocations: 128.8 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005572, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.005594, allocations: 4.031 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.0056, allocations: 7.938 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.005607, allocations: 4 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005608, allocations: 4 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005609, allocations: 0 / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.005734, allocations: 171.3 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.005741, allocations: 7.922 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.00575, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.005785, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.005816, allocations: 12.02 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.005817, allocations: 3.938 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.005846, allocations: 87.45 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005846, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002156/0.006062, allocations: 12 kB / 0.9852 GB, free: 13.99 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 (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.0003947/0.006457, allocations: 0.724 MB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.006583, allocations: 31.97 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006585, allocations: 0 / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.006626, allocations: 23.97 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.006791, allocations: 0 / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.007096, allocations: 138.7 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.007135, allocations: 59.34 kB / 0.9861 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.474e-05/0.007149, allocations: 4 kB / 0.9861 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.007177, allocations: 12.5 kB / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.007177, allocations: 0 / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.02516, allocations: 2.184 MB / 0.9883 GB, free: 10.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/6.999, allocations: 1.172 kB / 0.9883 GB, free: 10.86 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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.996283647604287]