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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002032/0.002032, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002436/0.002436, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 66.42 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3244, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001877/0.3263, allocations: 0.6698 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.3266, allocations: 75.84 kB / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.3267, allocations: 0 / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.3267, allocations: 3.938 kB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.3268, allocations: 8 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.3271, allocations: 35.95 kB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.806e-05/0.3271, allocations: 35.84 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.3272, allocations: 0 / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3272, allocations: 15.98 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3274, allocations: 75.86 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3274, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.3275, allocations: 39.95 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.3276, allocations: 23.91 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.3276, allocations: 23.88 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3278, allocations: 63.8 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3278, allocations: 0 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.675e-06/0.3278, allocations: 3.984 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3278, allocations: 0 / 1.053 GB, free: 7.539 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.0003487/0.3281, allocations: 355.8 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3282, allocations: 12.62 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.3282, allocations: 42.73 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3283, allocations: 8.844 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.3284, allocations: 168.3 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3284, allocations: 4.375 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3284, allocations: 4.375 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3287, allocations: 183.2 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3287, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3287, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.3288, allocations: 23.98 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.3288, allocations: 47.83 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.3295, allocations: 0.9023 MB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.3296, allocations: 177.1 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.3296, allocations: 80.14 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3296, allocations: 75.28 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.3297, allocations: 113.8 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3297, allocations: 4 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.894e-05/0.3298, allocations: 37.55 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.3299, allocations: 387.7 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.33, allocations: 167.2 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3301, allocations: 29.7 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3302, allocations: 151 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.3302, allocations: 8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.3302, allocations: 57.61 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3303, allocations: 322.8 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.3304, allocations: 23.98 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3306, allocations: 220.8 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3307, allocations: 205.8 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3307, allocations: 3.938 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002919/0.331, allocations: 181.2 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3311, allocations: 8 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3311, allocations: 11.92 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3311, allocations: 8.594 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3312, allocations: 43.92 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3313, allocations: 8 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.3314, allocations: 31.69 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3314, allocations: 12 kB / 1.057 GB, free: 2.992 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.0001177/0.3315, allocations: 209 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.3316, allocations: 120.8 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.3316, allocations: 116.8 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.3317, allocations: 180.3 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-05/0.3317, allocations: 184.2 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.3318, allocations: 184.3 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.332, allocations: 417.1 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/0.3321, allocations: 113 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.3321, allocations: 101 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-05/0.3322, allocations: 184.2 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.3322, allocations: 180.2 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-05/0.3323, allocations: 188.2 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-05/0.3323, allocations: 176.3 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3325, allocations: 316.2 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.3325, allocations: 182 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.3326, allocations: 192.4 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.3327, allocations: 109 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.3328, allocations: 180.2 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3328, allocations: 109 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.3329, allocations: 115.2 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3329, allocations: 3.938 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003188/0.3332, allocations: 31.98 kB / 1.061 GB, free: 15.25 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.0004567/0.3337, allocations: 0.8243 MB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3339, allocations: 75.77 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3339, allocations: 0 / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.3339, allocations: 1.312 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3343, allocations: 477.5 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.3348, allocations: 298.3 kB / 1.062 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.335, allocations: 0.6929 MB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000243/0.3353, allocations: 60.58 kB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3353, allocations: 19.38 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3353, allocations: 3.938 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.3492, allocations: 2.953 MB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.3495, allocations: 214.2 kB / 1.066 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/2.858, allocations: 7.938 kB / 1.066 GB, free: 9.664 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