Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001323/0.001323, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.001438/0.001438, allocations: 196.5 kB / 19.41 MB, free: 3.664 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 72.2 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3278, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001872/0.3297, allocations: 0.5979 MB / 1.305 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.3299, allocations: 39.81 kB / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.3299, allocations: 0 / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.33, allocations: 0 / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.33, allocations: 4 kB / 1.305 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.3302, allocations: 11.92 kB / 1.305 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.3303, allocations: 11.98 kB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3303, allocations: 0 / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.3303, allocations: 0 / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.3304, allocations: 11.92 kB / 1.305 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3304, allocations: 4 kB / 1.305 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.3305, allocations: 19.98 kB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.3305, allocations: 0 / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.3305, allocations: 7.938 kB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3307, allocations: 28.12 kB / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3307, allocations: 0 / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3307, allocations: 0 / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3307, allocations: 0 / 1.305 GB, free: 0.7695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003824/0.331, allocations: 349.2 kB / 1.305 GB, free: 380 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3311, allocations: 8.625 kB / 1.305 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3311, allocations: 42.73 kB / 1.305 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3312, allocations: 8.891 kB / 1.305 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3313, allocations: 164.3 kB / 1.305 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3313, allocations: 384 / 1.305 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3313, allocations: 384 / 1.305 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3314, allocations: 54.25 kB / 1.305 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3314, allocations: 3.938 kB / 1.305 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3314, allocations: 4 kB / 1.305 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.3315, allocations: 7.984 kB / 1.305 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.3315, allocations: 27.98 kB / 1.305 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.3319, allocations: 260.8 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/0.332, allocations: 22.52 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.332, allocations: 8.844 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.332, allocations: 4.062 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.332, allocations: 30.56 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.332, allocations: 4 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.3322, allocations: 67.36 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3323, allocations: 85.05 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.3324, allocations: 113.8 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3324, allocations: 25.7 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3324, allocations: 111.9 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.3325, allocations: 3.953 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.3325, allocations: 25.7 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3326, allocations: 322.9 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.3327, allocations: 12.39 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.3327, allocations: 58.86 kB / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3328, allocations: 134.1 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3328, allocations: 0 / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001633/0.333, allocations: 127.1 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.333, allocations: 35.58 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.333, allocations: 0 / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3331, allocations: 4 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.3331, allocations: 12 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3331, allocations: 3.984 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.3332, allocations: 12 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3332, allocations: 12.19 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001107/0.3333, allocations: 151.4 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3334, allocations: 7.953 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3334, allocations: 15.5 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3334, allocations: 0 / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3334, allocations: 0 / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3334, allocations: 0 / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3336, allocations: 153.6 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3336, allocations: 4 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3336, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3336, allocations: 4 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3336, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3336, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3336, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3337, allocations: 165.2 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.3338, allocations: 81.11 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3338, allocations: 7.938 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3339, allocations: 32 / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.3339, allocations: 4 kB / 1.307 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3339, allocations: 4 kB / 1.307 GB, free: 13.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.3339, allocations: 91.2 kB / 1.307 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3339, allocations: 0 / 1.307 GB, free: 13.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002637/0.3342, allocations: 12 kB / 1.307 GB, free: 13.53 MB / 1.014 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004858/0.3347, allocations: 0.7025 MB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3348, allocations: 87.27 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3348, allocations: 3.938 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.3349, allocations: 59.39 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3351, allocations: 8 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.3355, allocations: 147 kB / 1.308 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3358, allocations: 0.6846 MB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.3359, allocations: 11.97 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.3359, allocations: 11.44 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3359, allocations: 0 / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3612, allocations: 1.447 MB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.383, allocations: 1.672 kB / 1.311 GB, free: 10.39 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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: 15.171262552030385]