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.0009838/0.0009838, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001286/0.001286, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.887/2.887, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 11.69 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3932, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007873/0.394, allocations: 338.8 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.3943, allocations: 63.88 kB / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.3944, allocations: 3.938 kB / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.3944, allocations: 0 / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.3945, allocations: 4 kB / 1.058 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3948, allocations: 43.95 kB / 1.058 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.3949, allocations: 19.91 kB / 1.058 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.3949, allocations: 4 kB / 1.058 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.395, allocations: 23.97 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3952, allocations: 71.88 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3953, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3954, allocations: 31.97 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.3954, allocations: 23.91 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3955, allocations: 29.7 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3956, allocations: 39.95 kB / 1.059 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3957, allocations: 4 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3957, allocations: 0 / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3957, allocations: 0 / 1.059 GB, free: 4.648 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.0004046/0.3961, allocations: 355.5 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3961, allocations: 8.031 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.3962, allocations: 7.906 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3963, allocations: 163 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3963, allocations: 4 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3964, allocations: 3.953 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.3967, allocations: 184.3 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3967, allocations: 3.984 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3967, allocations: 8 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.3968, allocations: 15.98 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.3969, allocations: 39.84 kB / 1.059 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.3977, allocations: 0.9062 MB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3978, allocations: 181.1 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.3979, allocations: 88.14 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3979, allocations: 75.28 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.398, allocations: 109.8 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.398, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.3981, allocations: 33.61 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002828/0.3984, allocations: 403.6 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3986, allocations: 160.6 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3986, allocations: 25.7 kB / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3988, allocations: 151.2 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.3988, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.3988, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.399, allocations: 322.8 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.399, allocations: 28.3 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3992, allocations: 219.3 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3993, allocations: 59.91 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3994, allocations: 0 / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003841/0.3997, allocations: 193.3 kB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3998, allocations: 8 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3998, allocations: 4 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3998, allocations: 4 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4, allocations: 43.92 kB / 1.062 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4, allocations: 11.94 kB / 1.062 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.4001, allocations: 24.22 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4001, allocations: 20 kB / 1.062 GB, free: 432 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.4003, allocations: 205 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.4004, allocations: 120.8 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.4005, allocations: 116.9 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.4005, allocations: 176.3 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.491e-05/0.4006, allocations: 184.2 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/0.4007, allocations: 188.1 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4009, allocations: 413.2 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.401, allocations: 108.9 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.401, allocations: 109 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.961e-05/0.4011, allocations: 188.1 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.4012, allocations: 180.4 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.095e-05/0.4013, allocations: 184.3 kB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.4013, allocations: 180.2 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.4016, allocations: 315.7 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.4017, allocations: 190 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.4018, allocations: 184.2 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4019, allocations: 109 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.402, allocations: 180.2 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.4021, allocations: 108.9 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.4021, allocations: 113.7 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4021, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003827/0.4025, allocations: 28 kB / 1.066 GB, free: 12.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.4028, allocations: 182.5 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4029, allocations: 76.66 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4029, allocations: 448 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.403, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4034, allocations: 0.5457 MB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.4038, allocations: 238.6 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.4042, allocations: 0.6933 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.4045, allocations: 68.45 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.4045, allocations: 15.44 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4046, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.005175/0.4097, allocations: 1.691 MB / 1.069 GB, free: 9.156 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/jenkins/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