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.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.001382/0.001382, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001421/0.001421, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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.45/2.45, allocations: 476.7 MB / 0.7628 GB, free: 15.15 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.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 0.001753/0.001753, allocations: 71.89 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7723, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001541/0.7738, allocations: 0.5995 MB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004408/0.7742, allocations: 197 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.253e-05/0.7743, allocations: 0.6875 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.7743, allocations: 0 / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.7743, allocations: 0 / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.7746, allocations: 56.48 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.522e-05/0.7747, allocations: 1.359 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.7747, allocations: 6.172 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.7747, allocations: 1.797 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.7747, allocations: 0 / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-06/0.7747, allocations: 1.188 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.7749, allocations: 65.27 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.7749, allocations: 0.6094 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.7749, allocations: 4.719 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.775, allocations: 38.12 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7751, allocations: 0 / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7751, allocations: 0.5938 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7751, allocations: 0 / 1.272 GB, free: 7.133 MB / 0.9981 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.0002286/0.7753, allocations: 328.4 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7753, allocations: 9.125 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.009e-05/0.7753, allocations: 32.28 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.7754, allocations: 1.656 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.31e-05/0.7754, allocations: 165.1 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.7754, allocations: 1.062 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.7754, allocations: 1.312 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.7755, allocations: 33.34 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7755, allocations: 7.938 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.7755, allocations: 0 / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.7755, allocations: 1.125 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.7755, allocations: 9.562 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.459e-05/0.7756, allocations: 144.1 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.967e-05/0.7757, allocations: 16.97 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.7757, allocations: 9.953 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.7763, allocations: 462 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.7763, allocations: 32.59 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7763, allocations: 0 / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001052/0.7764, allocations: 44.16 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.7764, allocations: 56.19 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.287e-05/0.7764, allocations: 90.7 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.7764, allocations: 25.7 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-06/0.7764, allocations: 80.14 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.7764, allocations: 1.375 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.7765, allocations: 12.75 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.7765, allocations: 311.6 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.7765, allocations: 5.594 kB / 1.274 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.7765, allocations: 4.812 kB / 1.274 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.7765, allocations: 12.34 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7765, allocations: 4 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.925e-05/0.7766, allocations: 35.91 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7766, allocations: 5.891 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7766, allocations: 4.781 kB / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7766, allocations: 0 / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.7766, allocations: 2.016 kB / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7766, allocations: 1.438 kB / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-06/0.7766, allocations: 4.094 kB / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.7767, allocations: 4.984 kB / 1.274 GB, free: 5.023 MB / 0.9981 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 3.356e-05/0.7767, allocations: 108.4 kB / 1.274 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.7767, allocations: 0 / 1.274 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.7768, allocations: 47.94 kB / 1.274 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7768, allocations: 0.7812 kB / 1.274 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.7768, allocations: 3.938 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.7768, allocations: 0.9375 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.918e-05/0.7768, allocations: 148.5 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.7768, allocations: 0 / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.7768, allocations: 3.203 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.7768, allocations: 0 / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.7768, allocations: 4.625 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7768, allocations: 0.5625 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7768, allocations: 0.9375 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.296e-05/0.7769, allocations: 57.36 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.7769, allocations: 86.86 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.7769, allocations: 4.906 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-06/0.7769, allocations: 0 / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.7769, allocations: 1.391 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.7769, allocations: 0.6094 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.648e-06/0.7769, allocations: 80.12 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7769, allocations: 0 / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001811/0.7771, allocations: 16.03 kB / 1.275 GB, free: 4.41 MB / 0.9981 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.0002645/0.7774, allocations: 0.6105 MB / 1.275 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.495e-05/0.7774, allocations: 13.02 kB / 1.275 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7774, allocations: 4.094 kB / 1.275 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.7774, allocations: 6.219 kB / 1.275 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.7776, allocations: 3.922 kB / 1.275 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.7778, allocations: 113.2 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.778, allocations: 0.6709 MB / 1.276 GB, free: 18.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.778, allocations: 5.484 kB / 1.276 GB, free: 18.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.778, allocations: 8.344 kB / 1.276 GB, free: 18.95 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.778, allocations: 0 / 1.276 GB, free: 18.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.8006, allocations: 1.134 MB / 1.277 GB, free: 18.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.651, allocations: 10.88 kB / 1.277 GB, free: 18.59 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/jenkins1/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: 12.826276005000182]