Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001378/0.001378, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001644/0.001644, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.604/1.604, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.034/3.034, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.15 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.03, allocations: 176.1 MB / 1.322 GB, free: 7.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002056/1.032, allocations: 0.5921 MB / 1.322 GB, free: 7.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002969/1.032, allocations: 42.38 kB / 1.322 GB, free: 7.039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/1.032, allocations: 0 / 1.322 GB, free: 7.039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/1.032, allocations: 1.406 kB / 1.322 GB, free: 7.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.777e-05/1.032, allocations: 5.406 kB / 1.322 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/1.032, allocations: 4.125 kB / 1.322 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/1.032, allocations: 10.83 kB / 1.322 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/1.032, allocations: 1.25 kB / 1.322 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/1.032, allocations: 1.5 kB / 1.322 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/1.032, allocations: 1.375 kB / 1.322 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/1.032, allocations: 3.984 kB / 1.322 GB, free: 7.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/1.033, allocations: 20.08 kB / 1.322 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/1.033, allocations: 7.344 kB / 1.322 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/1.033, allocations: 9.078 kB / 1.322 GB, free: 7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/1.033, allocations: 26.97 kB / 1.322 GB, free: 6.984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.033, allocations: 1.75 kB / 1.322 GB, free: 6.984 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.973e-06/1.033, allocations: 0 / 1.322 GB, free: 6.984 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.033, allocations: 0 / 1.322 GB, free: 6.984 MB / 1.014 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.0004315/1.033, allocations: 349.1 kB / 1.323 GB, free: 6.594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.033, allocations: 13.67 kB / 1.323 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.049e-05/1.033, allocations: 5.312 kB / 1.323 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/1.033, allocations: 31.94 kB / 1.323 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/1.033, allocations: 10.14 kB / 1.323 GB, free: 6.539 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.033, allocations: 169.8 kB / 1.323 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.033, allocations: 384 / 1.323 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/1.033, allocations: 1.625 kB / 1.323 GB, free: 6.336 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/1.034, allocations: 62.95 kB / 1.323 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.034, allocations: 3.938 kB / 1.323 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.034, allocations: 3.984 kB / 1.323 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/1.034, allocations: 5.344 kB / 1.323 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/1.034, allocations: 23.58 kB / 1.323 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/1.034, allocations: 271.4 kB / 1.323 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/1.034, allocations: 16.8 kB / 1.323 GB, free: 5.953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/1.034, allocations: 10.95 kB / 1.323 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/1.034, allocations: 0 / 1.323 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.034, allocations: 35.5 kB / 1.323 GB, free: 5.898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/1.034, allocations: 0 / 1.323 GB, free: 5.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001795/1.034, allocations: 70.36 kB / 1.323 GB, free: 5.828 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.034, allocations: 81.23 kB / 1.323 GB, free: 5.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.035, allocations: 118.4 kB / 1.323 GB, free: 5.617 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.035, allocations: 26.83 kB / 1.323 GB, free: 5.586 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/1.035, allocations: 106.1 kB / 1.324 GB, free: 5.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/1.035, allocations: 2.281 kB / 1.324 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/1.035, allocations: 25.05 kB / 1.324 GB, free: 5.457 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.035, allocations: 324.1 kB / 1.324 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/1.035, allocations: 6.281 kB / 1.324 GB, free: 5.133 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/1.035, allocations: 70.55 kB / 1.324 GB, free: 5.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/1.035, allocations: 127.9 kB / 1.324 GB, free: 4.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.035, allocations: 1.281 kB / 1.324 GB, free: 4.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001544/1.035, allocations: 119 kB / 1.324 GB, free: 4.812 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.035, allocations: 36.28 kB / 1.324 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.035, allocations: 2.5 kB / 1.324 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.035, allocations: 2.375 kB / 1.324 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/1.035, allocations: 18 kB / 1.324 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.035, allocations: 2.312 kB / 1.324 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/1.035, allocations: 16.33 kB / 1.324 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.035, allocations: 5.156 kB / 1.324 GB, free: 4.758 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.0001029/1.036, allocations: 146 kB / 1.324 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/1.036, allocations: 9.281 kB / 1.324 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/1.036, allocations: 4.562 kB / 1.324 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.036, allocations: 1.531 kB / 1.324 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.036, allocations: 4 kB / 1.324 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.036, allocations: 3.938 kB / 1.324 GB, free: 4.578 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/1.036, allocations: 150.8 kB / 1.325 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.036, allocations: 0 / 1.325 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-06/1.036, allocations: 3.938 kB / 1.325 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.036, allocations: 1.375 kB / 1.325 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.036, allocations: 0 / 1.325 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.036, allocations: 5.281 kB / 1.325 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.036, allocations: 3.984 kB / 1.325 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.036, allocations: 165.1 kB / 1.325 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/1.036, allocations: 82.12 kB / 1.325 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.036, allocations: 5.453 kB / 1.325 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/1.036, allocations: 5.094 kB / 1.325 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.036, allocations: 1.094 kB / 1.325 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/1.036, allocations: 14.06 kB / 1.325 GB, free: 4.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.858e-05/1.036, allocations: 86.86 kB / 1.325 GB, free: 4.008 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.325 GB, free: 4.008 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002531/1.036, allocations: 17.81 kB / 1.325 GB, free: 4 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.0005238/1.037, allocations: 0.7028 MB / 1.326 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001772/1.037, allocations: 83.02 kB / 1.326 GB, free: 3.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.037, allocations: 0 / 1.326 GB, free: 3.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/1.037, allocations: 55.38 kB / 1.326 GB, free: 3.164 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/1.037, allocations: 12.05 kB / 1.326 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/1.038, allocations: 151.4 kB / 1.326 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/1.038, allocations: 0.6794 MB / 1.327 GB, free: 2.297 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001034/1.038, allocations: 13.86 kB / 1.327 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/1.038, allocations: 9.062 kB / 1.327 GB, free: 2.281 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.038, allocations: 0 / 1.327 GB, free: 2.281 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/1.055, allocations: 1.505 MB / 1.328 GB, free: 1.496 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/9.574, allocations: 4.938 kB / 1.328 GB, free: 1.496 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.32768378802575]