Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001266/0.001266, allocations: 195 kB / 16.14 MB, free: 6.656 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.89 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3041, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001921/0.3061, allocations: 0.6775 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.3065, allocations: 75.84 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.3065, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3066, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.3066, allocations: 7.984 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3069, allocations: 39.89 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.307, allocations: 23.98 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.307, allocations: 0 / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.3071, allocations: 15.97 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.3073, allocations: 71.86 kB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3073, allocations: 4 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3074, allocations: 35.97 kB / 1.053 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.3075, allocations: 19.91 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.3075, allocations: 19.88 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3077, allocations: 71.72 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3077, allocations: 4 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3077, allocations: 0 / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3077, allocations: 0 / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003674/0.3081, allocations: 359.8 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3081, allocations: 19.97 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.3082, allocations: 34.75 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.3082, allocations: 8.844 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/0.3083, allocations: 172.3 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3084, allocations: 4.375 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3084, allocations: 384 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3087, allocations: 179.2 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3087, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3087, allocations: 8 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.3088, allocations: 27.84 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.719e-05/0.3088, allocations: 39.91 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.3095, allocations: 0.9062 MB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/0.3096, allocations: 173.1 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.3097, allocations: 80.14 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3097, allocations: 79.28 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.3098, allocations: 117.8 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3098, allocations: 0 / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.653e-05/0.3098, allocations: 33.61 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.31, allocations: 391.7 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3101, allocations: 164.4 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3102, allocations: 25.7 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.3103, allocations: 155.1 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.3103, allocations: 0 / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.3103, allocations: 61.55 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3105, allocations: 322.8 kB / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.3105, allocations: 27.97 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3107, allocations: 220.4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3109, allocations: 201.7 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3109, allocations: 4 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002999/0.3112, allocations: 185.8 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3112, allocations: 12.09 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3112, allocations: 4 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3112, allocations: 7.938 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3114, allocations: 39.92 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3114, allocations: 8 kB / 1.057 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3115, allocations: 27.69 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3115, allocations: 12 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.000127/0.3116, allocations: 220.9 kB / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3117, allocations: 112.9 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3118, allocations: 120.8 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/0.3118, allocations: 180.2 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-05/0.3119, allocations: 184.3 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-05/0.312, allocations: 180.2 kB / 1.058 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3122, allocations: 425.2 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.3122, allocations: 101 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.3123, allocations: 104.9 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/0.3123, allocations: 176.3 kB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.3124, allocations: 192.1 kB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.394e-05/0.3125, allocations: 184.2 kB / 1.059 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.908e-05/0.3125, allocations: 180.3 kB / 1.059 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3127, allocations: 307.8 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.3128, allocations: 201.9 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.3129, allocations: 180.2 kB / 1.06 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.313, allocations: 105.3 kB / 1.06 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.3131, allocations: 188.2 kB / 1.06 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.3131, allocations: 113 kB / 1.06 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.64e-05/0.3132, allocations: 119.2 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3132, allocations: 0 / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003213/0.3135, allocations: 28 kB / 1.061 GB, free: 14.88 MB / 0.8262 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0004955/0.314, allocations: 0.832 MB / 1.061 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.3142, allocations: 72.84 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3142, allocations: 4 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3142, allocations: 256 / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3146, allocations: 0.5379 MB / 1.062 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.3151, allocations: 296.1 kB / 1.062 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3154, allocations: 0.6932 MB / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.3156, allocations: 52.59 kB / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.3156, allocations: 19.44 kB / 1.063 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3156, allocations: 4 kB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.3286, allocations: 2.876 MB / 1.066 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.3288, allocations: 223 kB / 1.066 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.085, allocations: 2.625 kB / 1.066 GB, free: 9.266 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches