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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004779/0.004779, allocations: 103.1 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 189.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.88 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3033, allocations: 162.3 MB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001718/0.3051, allocations: 0.5798 MB / 1.242 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.3053, allocations: 47.81 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.3054, allocations: 0 / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.3054, allocations: 3.938 kB / 1.243 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.3054, allocations: 4 kB / 1.243 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3056, allocations: 11.98 kB / 1.243 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.3057, allocations: 7.984 kB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3058, allocations: 3.984 kB / 1.243 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.3058, allocations: 0 / 1.243 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.3058, allocations: 4 kB / 1.243 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3058, allocations: 4 kB / 1.243 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.3059, allocations: 19.98 kB / 1.243 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.306, allocations: 4 kB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.306, allocations: 3.938 kB / 1.243 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.687e-05/0.3061, allocations: 27.89 kB / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3061, allocations: 0 / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3061, allocations: 0 / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3061, allocations: 4 kB / 1.243 GB, free: 9.059 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.000368/0.3065, allocations: 361 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3065, allocations: 8.031 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3066, allocations: 34.75 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.3066, allocations: 4.938 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3067, allocations: 160.4 kB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3067, allocations: 4.312 kB / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.3067, allocations: 384 / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3069, allocations: 58.25 kB / 1.243 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3069, allocations: 3.938 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.3069, allocations: 0 / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.3069, allocations: 7.984 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.307, allocations: 31.86 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.3073, allocations: 268.8 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.3074, allocations: 18.58 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.3074, allocations: 8.922 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.3074, allocations: 0 / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3074, allocations: 34.56 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3074, allocations: 0 / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.3076, allocations: 75.33 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3077, allocations: 77.11 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.3078, allocations: 121.7 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3078, allocations: 25.7 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3079, allocations: 100.1 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.3079, allocations: 3.984 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3079, allocations: 25.67 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3081, allocations: 322.9 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.3081, allocations: 11.98 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.3082, allocations: 62.8 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3083, allocations: 130.2 kB / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3083, allocations: 0 / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001505/0.3085, allocations: 123.2 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.3085, allocations: 33.7 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3085, allocations: 4 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3085, allocations: 0 / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.3086, allocations: 15.98 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3086, allocations: 7.938 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.3087, allocations: 11.89 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3087, allocations: 7.938 kB / 1.245 GB, free: 6.613 MB / 0.9981 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 9.465e-05/0.3088, allocations: 143.8 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3089, allocations: 7.984 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.454e-05/0.3089, allocations: 3.531 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3089, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.3089, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3089, allocations: 4 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3091, allocations: 157.6 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3091, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.3091, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3091, allocations: 7.875 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3091, allocations: 4 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3091, allocations: 0 / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3091, allocations: 0 / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.3093, allocations: 169.1 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3093, allocations: 89.05 kB / 1.245 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.3093, allocations: 0 / 1.245 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.3094, allocations: 0 / 1.245 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.3094, allocations: 8.031 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3094, allocations: 0 / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.3095, allocations: 95.2 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 0 / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002261/0.3097, allocations: 8 kB / 1.245 GB, free: 5.824 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): 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.0004838/0.3102, allocations: 0.7107 MB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3103, allocations: 87.33 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3104, allocations: 0 / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.3104, allocations: 55.41 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.3106, allocations: 6.438 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.311, allocations: 143 kB / 1.246 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3113, allocations: 0.6807 MB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.193e-05/0.3113, allocations: 11.98 kB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3114, allocations: 11.44 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of SimCode: time 1.923e-06/0.3114, allocations: 0 / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2004/0.5118, allocations: 1.45 MB / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.692, allocations: 6.672 kB / 1.248 GB, free: 2.695 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches