Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001309/0.001309, allocations: 105 kB / 16.45 MB, free: 6.445 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.001287/0.001287, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TrapezoidalIntegration,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.91 kB / 1.056 GB, free: 2.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3187, allocations: 160.7 MB / 1.213 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001798/0.3205, allocations: 0.5869 MB / 1.214 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.3207, allocations: 39.88 kB / 1.214 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.3208, allocations: 4 kB / 1.214 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.3208, allocations: 0 / 1.214 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.432e-05/0.3208, allocations: 0 / 1.214 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.321, allocations: 19.98 kB / 1.214 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.3211, allocations: 4 kB / 1.214 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.3212, allocations: 3.984 kB / 1.214 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.3212, allocations: 11.92 kB / 1.214 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.3212, allocations: 3.938 kB / 1.214 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3213, allocations: 0 / 1.214 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.3213, allocations: 23.98 kB / 1.214 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.3214, allocations: 4 kB / 1.214 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.3214, allocations: 3.938 kB / 1.214 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3215, allocations: 32.12 kB / 1.214 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3215, allocations: 0 / 1.214 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3215, allocations: 0 / 1.214 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3215, allocations: 0 / 1.214 GB, free: 0.6328 MB / 0.9512 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.0004081/0.3219, allocations: 353.2 kB / 1.214 GB, free: 236 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.322, allocations: 11.97 kB / 1.214 GB, free: 224 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.322, allocations: 38.73 kB / 1.214 GB, free: 176 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.322, allocations: 4.938 kB / 1.214 GB, free: 172 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3221, allocations: 160.4 kB / 1.214 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3222, allocations: 384 / 1.214 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3222, allocations: 4.375 kB / 1.214 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3223, allocations: 58.19 kB / 1.214 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3223, allocations: 3.938 kB / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3223, allocations: 0 / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.3223, allocations: 11.98 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.3224, allocations: 23.98 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3228, allocations: 268.8 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.3228, allocations: 22.55 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.3229, allocations: 12.86 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.3229, allocations: 0 / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3229, allocations: 34.56 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3229, allocations: 0 / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000171/0.3231, allocations: 67.41 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3231, allocations: 81.09 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3232, allocations: 117.8 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3232, allocations: 25.7 kB / 1.215 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3233, allocations: 104 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.3233, allocations: 7.938 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3234, allocations: 29.66 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3235, allocations: 318.8 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.3235, allocations: 12.11 kB / 1.215 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.3236, allocations: 58.86 kB / 1.215 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3237, allocations: 130.1 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3237, allocations: 4 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001572/0.3239, allocations: 119.3 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.3239, allocations: 33.64 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3239, allocations: 4 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3239, allocations: 0 / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.324, allocations: 15.94 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.324, allocations: 7.984 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.3241, allocations: 7.953 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3241, allocations: 7.938 kB / 1.216 GB, free: 14.19 MB / 0.9669 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.0001121/0.3242, allocations: 147.7 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3242, allocations: 4 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.3242, allocations: 11.45 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3242, allocations: 0 / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3242, allocations: 4 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3242, allocations: 3.938 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3244, allocations: 161.6 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3244, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3244, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3244, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3244, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3244, allocations: 4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3244, allocations: 4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.3246, allocations: 169.1 kB / 1.216 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3246, allocations: 77.11 kB / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3246, allocations: 0 / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.3247, allocations: 0 / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.3247, allocations: 4 kB / 1.216 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3247, allocations: 4.031 kB / 1.216 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.3248, allocations: 99.66 kB / 1.216 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 1.216 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002454/0.325, allocations: 15.94 kB / 1.216 GB, free: 13.39 MB / 0.9669 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.0005002/0.3255, allocations: 0.6986 MB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.3257, allocations: 83.31 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3257, allocations: 4 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.3257, allocations: 59.34 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3259, allocations: 5.719 kB / 1.217 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3263, allocations: 150.4 kB / 1.217 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3266, allocations: 0.6773 MB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.577e-05/0.3267, allocations: 15.98 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.3268, allocations: 7.438 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3268, allocations: 0 / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.3501, allocations: 1.457 MB / 1.219 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.637, allocations: 11.14 kB / 1.219 GB, free: 10.25 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.96259439503774]