Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 111.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 195.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7491 GB, free: 2.988 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.83 kB / 1.073 GB, free: 56 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7711, allocations: 159.1 MB / 1.229 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001715/0.7728, allocations: 0.5759 MB / 1.229 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.7733, allocations: 189.6 kB / 1.229 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.313e-05/0.7733, allocations: 0 / 1.229 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.7734, allocations: 0 / 1.229 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.7734, allocations: 0 / 1.229 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.7738, allocations: 59.75 kB / 1.229 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.037e-05/0.7738, allocations: 4 kB / 1.229 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.7739, allocations: 0 / 1.229 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.7739, allocations: 4 kB / 1.23 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.7739, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.7739, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.7741, allocations: 59.94 kB / 1.23 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.7741, allocations: 0 / 1.23 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.7741, allocations: 7.922 kB / 1.23 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.7742, allocations: 33.72 kB / 1.23 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7743, allocations: 4 kB / 1.23 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7743, allocations: 0 / 1.23 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7743, allocations: 0 / 1.23 GB, free: 3.828 MB / 0.9356 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.0003469/0.7746, allocations: 327.4 kB / 1.23 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7747, allocations: 12.02 kB / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.7747, allocations: 30.75 kB / 1.23 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.7747, allocations: 0.9375 kB / 1.23 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7749, allocations: 160.4 kB / 1.23 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7749, allocations: 4.375 kB / 1.23 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.7749, allocations: 384 / 1.23 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.775, allocations: 26.27 kB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.775, allocations: 3.938 kB / 1.23 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.775, allocations: 4 kB / 1.23 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.775, allocations: 0 / 1.23 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.7751, allocations: 11.94 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.7752, allocations: 145.7 kB / 1.23 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.7753, allocations: 22.61 kB / 1.23 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.7753, allocations: 4.859 kB / 1.23 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008115/0.7761, allocations: 457.5 kB / 1.231 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7761, allocations: 34.56 kB / 1.231 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7762, allocations: 0 / 1.231 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.7763, allocations: 37.58 kB / 1.231 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.7763, allocations: 51.41 kB / 1.231 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.7764, allocations: 93.98 kB / 1.231 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.7764, allocations: 29.7 kB / 1.231 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.7765, allocations: 80.14 kB / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.7765, allocations: 0 / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.7765, allocations: 13.72 kB / 1.231 GB, free: 2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7767, allocations: 314.8 kB / 1.231 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.7767, allocations: 0 / 1.231 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.7767, allocations: 11.94 kB / 1.231 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.7768, allocations: 12.86 kB / 1.231 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7768, allocations: 3.938 kB / 1.231 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.528e-05/0.7768, allocations: 37.7 kB / 1.231 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7768, allocations: 4 kB / 1.231 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7768, allocations: 3.938 kB / 1.231 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.7769, allocations: 0 / 1.231 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.7769, allocations: 4 kB / 1.231 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7769, allocations: 3.984 kB / 1.231 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-06/0.7769, allocations: 0 / 1.231 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.7769, allocations: 0 / 1.231 GB, free: 1.594 MB / 0.9356 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 8.467e-05/0.777, allocations: 109.9 kB / 1.232 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.777, allocations: 0 / 1.232 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.7771, allocations: 44.7 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7771, allocations: 4 kB / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7772, allocations: 0 / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7772, allocations: 3.984 kB / 1.232 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.7773, allocations: 141.7 kB / 1.232 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7773, allocations: 0 / 1.232 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.7773, allocations: 4 kB / 1.232 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.7773, allocations: 4.031 kB / 1.232 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7773, allocations: 7.922 kB / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7773, allocations: 0 / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7773, allocations: 0 / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.418e-05/0.7774, allocations: 61.12 kB / 1.232 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.7775, allocations: 77.11 kB / 1.232 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.7775, allocations: 7.875 kB / 1.232 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.7775, allocations: 4.031 kB / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.7775, allocations: 0 / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.7775, allocations: 0 / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.7776, allocations: 75.28 kB / 1.232 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7776, allocations: 0 / 1.232 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002086/0.7778, allocations: 19.92 kB / 1.232 GB, free: 0.9375 MB / 0.9356 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.000501/0.7783, allocations: 0.6129 MB / 1.233 GB, free: 300 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.533e-05/0.7784, allocations: 7.938 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7784, allocations: 3.938 kB / 1.233 GB, free: 288 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.7784, allocations: 4 kB / 1.233 GB, free: 284 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7785, allocations: 4.156 kB / 1.233 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.7788, allocations: 118.4 kB / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.7792, allocations: 0.6729 MB / 1.233 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.7792, allocations: 4 kB / 1.233 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.7792, allocations: 11.38 kB / 1.233 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.7792, allocations: 0 / 1.233 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.8006, allocations: 1.143 MB / 1.235 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.909, allocations: 8.578 kB / 1.235 GB, free: 14.34 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.73735016095452]