Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008321/0.0008321, 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.0008871/0.0008871, 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.9129/0.9129, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.835/1.835, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.375e-05, allocations: 8.75 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00208/0.002104, allocations: 1.452 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.002578, allocations: 239.1 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.002608, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.002636, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.002675, allocations: 3.938 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.002997, allocations: 59.83 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.003054, allocations: 19.92 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.003136, allocations: 11.98 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.003181, allocations: 15.92 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.003211, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.003222, allocations: 4 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.003336, allocations: 63.81 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.003349, allocations: 4 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.003366, allocations: 7.922 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003485, allocations: 59.91 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003487, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003488, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.003492, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 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.0003607/0.003852, allocations: 270.2 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.003895, allocations: 12.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.003927, allocations: 30.75 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.003949, allocations: 0.9375 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.004036, allocations: 113.7 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004049, allocations: 4.375 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.004058, allocations: 384 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.0042, allocations: 55.02 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004208, allocations: 192 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004218, allocations: 384 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.004225, allocations: 8.125 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.004318, allocations: 31.95 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.004625, allocations: 216 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.004713, allocations: 38.5 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.004767, allocations: 28.84 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/0.00512, allocations: 75.91 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.005144, allocations: 38.5 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005145, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002451/0.00539, allocations: 85.58 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.005421, allocations: 55.41 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.005484, allocations: 97.86 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005494, allocations: 25.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.005533, allocations: 80.14 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.005554, allocations: 15.88 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.005581, allocations: 17.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.005667, allocations: 314.8 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.005715, allocations: 16.11 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.005752, allocations: 15.98 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.005831, allocations: 40.81 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005833, allocations: 3.938 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.005939, allocations: 69.55 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.005953, allocations: 12.08 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005958, allocations: 0 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005971, allocations: 0 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.006029, allocations: 8 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006034, allocations: 0 / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.006057, allocations: 7.984 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.006062, allocations: 0 / 1.003 GB, free: 9.586 MB / 0.9636 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.708e-05/0.006119, allocations: 113.8 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.006131, allocations: 3.938 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.006269, allocations: 81.09 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006272, allocations: 3.984 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.006277, allocations: 4 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00628, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006384, allocations: 116.8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006386, allocations: 3.984 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.00641, allocations: 7.938 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006412, allocations: 7.938 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006419, allocations: 8.031 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006419, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006421, allocations: 7.938 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.006543, allocations: 155.5 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-06/0.006549, allocations: 3.938 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.006559, allocations: 7.984 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.006595, allocations: 4 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.006634, allocations: 3.984 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.006637, allocations: 32 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.006663, allocations: 87.28 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006663, allocations: 0 / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001624/0.006825, allocations: 12 kB / 1.004 GB, free: 8.887 MB / 0.9636 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.0003978/0.007223, allocations: 0.7201 MB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.007354, allocations: 31.97 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.007356, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.007402, allocations: 27.91 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.007582, allocations: 0 / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.007958, allocations: 134.5 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.008007, allocations: 67.47 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.008026, allocations: 0 / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.008062, allocations: 12.5 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.008063, allocations: 3.938 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.02348, allocations: 2.184 MB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.815, allocations: 3.938 kB / 1.007 GB, free: 5.754 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.97295814473182]