Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0007538/0.0007538, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000816/0.000816, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9069/0.9069, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.09 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.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.086e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001731/0.001752, allocations: 0.5916 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.001988, allocations: 31.89 kB / 0.9512 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.002006, allocations: 4 kB / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.002038, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.002074, allocations: 4 kB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.002268, allocations: 15.92 kB / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.002336, allocations: 7.938 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.002372, allocations: 7.969 kB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.002405, allocations: 4 kB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.002444, allocations: 0 / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002457, allocations: 0 / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.002525, allocations: 15.98 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.002553, allocations: 8 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.002572, allocations: 3.938 kB / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.002667, allocations: 35.84 kB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002669, allocations: 0 / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00267, allocations: 0 / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002674, allocations: 0 / 0.9513 GB, free: 2.703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002491/0.002923, allocations: 280 kB / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.002959, allocations: 12.03 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.003007, allocations: 30.75 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.003031, allocations: 0.9375 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.003084, allocations: 113.7 kB / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.003094, allocations: 384 / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.003101, allocations: 4.375 kB / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.003215, allocations: 87.95 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003222, allocations: 192 / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.003228, allocations: 384 / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.00325, allocations: 8.125 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.003292, allocations: 49.69 kB / 0.9518 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.003553, allocations: 239.8 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.478e-05/0.003598, allocations: 48.22 kB / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.003617, allocations: 34.56 kB / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.003623, allocations: 0 / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.003642, allocations: 34.62 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003643, allocations: 4 kB / 0.9522 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.003775, allocations: 114.8 kB / 0.9523 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.003808, allocations: 89.05 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.003867, allocations: 113.8 kB / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.003876, allocations: 25.7 kB / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.003924, allocations: 112 kB / 0.9526 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.003929, allocations: 3.953 kB / 0.9526 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.003958, allocations: 21.72 kB / 0.9526 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.004029, allocations: 322.8 kB / 0.9529 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.004053, allocations: 33.7 kB / 0.953 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.004098, allocations: 92.69 kB / 0.9531 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.004168, allocations: 130.1 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00417, allocations: 7.938 kB / 0.9532 GB, free: 424 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.713e-05/0.004267, allocations: 144.9 kB / 0.9533 GB, free: 260 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.004294, allocations: 33.69 kB / 0.9534 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.004298, allocations: 4 kB / 0.9534 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00431, allocations: 4 kB / 0.9534 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.004363, allocations: 8 kB / 0.9534 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.004369, allocations: 4 kB / 0.9534 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.004421, allocations: 19.83 kB / 0.9534 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.004433, allocations: 4.25 kB / 0.9534 GB, free: 176 kB / 0.9011 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 6.169e-05/0.004495, allocations: 155.4 kB / 0.9536 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.004507, allocations: 0 / 0.9536 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.004531, allocations: 11.47 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004532, allocations: 0 / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.004536, allocations: 0 / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004538, allocations: 0 / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.004631, allocations: 128.6 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004632, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.004633, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004634, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.00464, allocations: 4 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004641, allocations: 4 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.004643, allocations: 3.984 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.004729, allocations: 190.8 kB / 0.9539 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.004736, allocations: 7.984 kB / 0.9539 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.004745, allocations: 0 / 0.9539 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.004779, allocations: 0 / 0.9539 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.004792, allocations: 7.984 kB / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.004797, allocations: 4 kB / 0.9539 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.004834, allocations: 91.72 kB / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004834, allocations: 0 / 0.954 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001719/0.005006, allocations: 12.03 kB / 0.954 GB, free: 15.47 MB / 0.9167 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.0002945/0.005301, allocations: 0.7314 MB / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.005414, allocations: 138.7 kB / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.005415, allocations: 0 / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.005443, allocations: 89.09 kB / 0.9549 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.005586, allocations: 4.531 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.005888, allocations: 179.3 kB / 0.9551 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.005932, allocations: 67.34 kB / 0.9552 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.005984, allocations: 11.98 kB / 0.9552 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.006004, allocations: 8.5 kB / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.006004, allocations: 0 / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.02075, allocations: 2.082 MB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.036, allocations: 12.73 kB / 0.9572 GB, free: 12.17 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.998050165362656]