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.001539/0.001539, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001587/0.001587, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.207/3.207, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.72 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3411, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003031/0.3442, allocations: 1.453 MB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.3448, allocations: 227.3 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.3448, allocations: 4 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.3448, allocations: 0 / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.3449, allocations: 3.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3453, allocations: 55.83 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.3454, allocations: 19.88 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.3455, allocations: 15.97 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.3455, allocations: 8 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.3455, allocations: 15.92 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.3456, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3457, allocations: 59.89 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.3457, allocations: 7.984 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.3458, allocations: 4 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3459, allocations: 56.08 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3459, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3459, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.346, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 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.000512/0.3465, allocations: 270.2 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3465, allocations: 16.03 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3465, allocations: 192 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.3466, allocations: 34.69 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.3466, allocations: 4.938 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3467, allocations: 110.5 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3467, allocations: 384 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3467, allocations: 8.312 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3469, allocations: 57.92 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3469, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3469, allocations: 0 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.347, allocations: 4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3471, allocations: 31.97 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3475, allocations: 220 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3476, allocations: 30.56 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.3477, allocations: 28.83 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/0.3483, allocations: 79.92 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3483, allocations: 30.56 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3483, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.3487, allocations: 81.64 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3487, allocations: 55.53 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.3488, allocations: 97.84 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3488, allocations: 25.7 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3489, allocations: 88.14 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3489, allocations: 3.953 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.3489, allocations: 17.66 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.349, allocations: 314.8 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3491, allocations: 15.97 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.3492, allocations: 19.98 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3494, allocations: 40.83 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3494, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.3496, allocations: 69.61 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3496, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3496, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3496, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.3497, allocations: 12.02 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3497, allocations: 3.938 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3497, allocations: 4 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.3497, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 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 0.0001476/0.3499, allocations: 121.8 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3499, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3501, allocations: 68.97 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3501, allocations: 8.031 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3501, allocations: 3.938 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3502, allocations: 192 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3503, allocations: 136.6 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3503, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.3504, allocations: 11.98 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3504, allocations: 3.984 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3504, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3504, allocations: 3.984 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3504, allocations: 3.938 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3507, allocations: 167.5 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.3507, allocations: 11.89 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3507, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3508, allocations: 7.984 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3508, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3508, allocations: 0 / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.3509, allocations: 83.28 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3509, allocations: 0 / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002548/0.3511, allocations: 19.98 kB / 1.349 GB, free: 11.38 MB / 1.045 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.0006759/0.3518, allocations: 0.7084 MB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.352, allocations: 43.98 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.352, allocations: 0 / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.3521, allocations: 19.98 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3524, allocations: 2.031 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3528, allocations: 147 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.3529, allocations: 63.34 kB / 1.35 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.3529, allocations: 0 / 1.35 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.353, allocations: 11.56 kB / 1.35 GB, free: 10.3 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.353, allocations: 8 kB / 1.35 GB, free: 10.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.3748, allocations: 1.693 MB / 1.352 GB, free: 8.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 7.312 kB / 1.352 GB, free: 8.734 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.76192647800781]