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: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 173 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004367, allocations: 14.77 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3094, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007726/0.3102, allocations: 342.8 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.3106, allocations: 71.84 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.3106, allocations: 0 / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.3107, allocations: 3.938 kB / 1.06 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.3107, allocations: 7.984 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.311, allocations: 39.95 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.3111, allocations: 27.92 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.3111, allocations: 0 / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.3112, allocations: 11.98 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3114, allocations: 71.86 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3114, allocations: 0 / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3115, allocations: 39.95 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.3116, allocations: 15.92 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.3116, allocations: 49.56 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.3117, allocations: 35.95 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3117, allocations: 8 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3118, allocations: 0 / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3118, allocations: 0 / 1.06 GB, free: 4.246 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.0003223/0.3121, allocations: 355.7 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3121, allocations: 15.97 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3122, allocations: 4.844 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3123, allocations: 168.3 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3123, allocations: 384 / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3124, allocations: 4.375 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3127, allocations: 187.4 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3127, allocations: 0 / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3127, allocations: 0 / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.3128, allocations: 19.98 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.3129, allocations: 39.84 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.3137, allocations: 0.9139 MB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.3138, allocations: 181.1 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.3138, allocations: 80.14 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3139, allocations: 75.28 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.3139, allocations: 109.8 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.3139, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.3141, allocations: 41.61 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.3143, allocations: 399.6 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3145, allocations: 164.4 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3145, allocations: 25.7 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3147, allocations: 151 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.3147, allocations: 4 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.3147, allocations: 25.7 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3149, allocations: 322.8 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.3149, allocations: 27.97 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3151, allocations: 220.6 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3153, allocations: 197.8 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3153, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003243/0.3156, allocations: 189.5 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3157, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3157, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3157, allocations: 8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3158, allocations: 39.86 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3159, allocations: 11.94 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.316, allocations: 31.69 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.316, allocations: 8.375 kB / 1.064 GB, free: 15.79 MB / 0.8262 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.000144/0.3161, allocations: 217 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.3162, allocations: 108.9 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3163, allocations: 120.8 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.3163, allocations: 184.2 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.05e-05/0.3164, allocations: 180.2 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/0.3165, allocations: 184.3 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3167, allocations: 421.2 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.3168, allocations: 104.9 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3168, allocations: 101 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-05/0.3169, allocations: 180.2 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.3169, allocations: 188.2 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.356e-05/0.317, allocations: 184.2 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.105e-05/0.3171, allocations: 180.2 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3172, allocations: 315.7 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.3173, allocations: 189.9 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.3174, allocations: 192.2 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.3174, allocations: 105.2 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.3175, allocations: 180.3 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.3176, allocations: 112.9 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.3176, allocations: 111.2 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3176, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003186/0.318, allocations: 28 kB / 1.067 GB, free: 12.06 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.0002016/0.3182, allocations: 186.6 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.3183, allocations: 76.92 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3184, allocations: 4 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3184, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3188, allocations: 0.5496 MB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3191, allocations: 264.3 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3194, allocations: 0.6971 MB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3194, allocations: 15.44 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3194, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.003586/0.323, allocations: 1.686 MB / 1.071 GB, free: 8.535 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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