Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001109/0.001109, 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.001251/0.001251, 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.905/0.905, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.712/1.712, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.721e-05, allocations: 5.234 kB / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001508/0.001535, allocations: 0.5917 MB / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004138/0.001949, allocations: 175.3 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.001962, allocations: 0 / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.001978, allocations: 0 / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-06/0.001986, allocations: 7.938 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.002364, allocations: 59.75 kB / 0.9514 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.817e-05/0.002402, allocations: 0 / 0.9514 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.002441, allocations: 4 kB / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.002465, allocations: 0 / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.946e-05/0.002484, allocations: 0 / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.002494, allocations: 0 / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.002641, allocations: 63.88 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.002651, allocations: 3.938 kB / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.002665, allocations: 0 / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.002779, allocations: 43.86 kB / 0.9515 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.002782, allocations: 8 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.332e-06/0.002783, allocations: 0 / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002786, allocations: 0 / 0.9515 GB, free: 2.492 MB / 0.9011 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.0002409/0.003027, allocations: 242.4 kB / 0.9517 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.003068, allocations: 12.03 kB / 0.9517 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.003096, allocations: 30.75 kB / 0.9518 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.003119, allocations: 4.891 kB / 0.9518 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.003309, allocations: 101.8 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.003321, allocations: 384 / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003328, allocations: 4.375 kB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/0.003416, allocations: 30.27 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.003424, allocations: 192 / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003432, allocations: 4.359 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.003439, allocations: 4.125 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.00346, allocations: 7.938 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.003573, allocations: 116.8 kB / 0.952 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.003612, allocations: 18.61 kB / 0.952 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.003628, allocations: 4.859 kB / 0.952 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.00414, allocations: 79.97 kB / 0.9521 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.004166, allocations: 34.56 kB / 0.9521 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.004168, allocations: 0 / 0.9521 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.004313, allocations: 33.64 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.004345, allocations: 55.34 kB / 0.9522 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.904e-05/0.004374, allocations: 93.8 kB / 0.9523 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.004386, allocations: 29.7 kB / 0.9523 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.004408, allocations: 80.27 kB / 0.9524 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.004436, allocations: 4 kB / 0.9524 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.004461, allocations: 17.7 kB / 0.9524 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.004549, allocations: 314.8 kB / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.00456, allocations: 0 / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.004568, allocations: 4 kB / 0.9527 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.004594, allocations: 8.797 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004596, allocations: 0 / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.548e-05/0.004642, allocations: 41.64 kB / 0.9528 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.004655, allocations: 4 kB / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.004662, allocations: 8.078 kB / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004674, allocations: 0 / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.004724, allocations: 8 kB / 0.9528 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.004733, allocations: 3.938 kB / 0.9528 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-06/0.004741, allocations: 0 / 0.9528 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.004748, allocations: 0 / 0.9528 GB, free: 0.9219 MB / 0.9011 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 5.784e-05/0.004806, allocations: 109.8 kB / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-06/0.00481, allocations: 0 / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.004883, allocations: 44.62 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004886, allocations: 3.984 kB / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.004897, allocations: 7.969 kB / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.004901, allocations: 0 / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.638e-05/0.004967, allocations: 112.8 kB / 0.9531 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004968, allocations: 4 kB / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.004978, allocations: 0 / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.004979, allocations: 0 / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.004984, allocations: 0 / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.004985, allocations: 0 / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.004988, allocations: 7.922 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.829e-05/0.005037, allocations: 53.14 kB / 0.9531 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.005042, allocations: 8.031 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-06/0.005051, allocations: 4 kB / 0.9532 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-06/0.005055, allocations: 0 / 0.9532 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.005068, allocations: 3.938 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.005071, allocations: 7.922 kB / 0.9532 GB, free: 500 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.005095, allocations: 79.22 kB / 0.9532 GB, free: 420 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005095, allocations: 0 / 0.9532 GB, free: 420 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001503/0.005245, allocations: 15.94 kB / 0.9533 GB, free: 404 kB / 0.9011 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.0003242/0.005569, allocations: 0.6125 MB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.872e-05/0.005628, allocations: 4 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00563, allocations: 0 / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.005635, allocations: 7.938 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.005737, allocations: 3.938 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.005988, allocations: 119.1 kB / 0.954 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.006019, allocations: 51.36 kB / 0.954 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.024e-05/0.006029, allocations: 8.125 kB / 0.954 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.006044, allocations: 8.5 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.006044, allocations: 3.938 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.02193, allocations: 1.793 MB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.873, allocations: 11.23 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.8746675895527]