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 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: 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.005074/0.005074, allocations: 100.8 kB / 15.78 MB, free: 6.027 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.001349/0.001349, allocations: 195.6 kB / 16.73 MB, free: 5.895 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.428/1.428, allocations: 225.6 MB / 243.1 MB, free: 3.699 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 489.4 MB / 0.7669 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.91 kB / 1.115 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9832/0.9853, allocations: 172 MB / 1.283 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001669/0.987, allocations: 0.6034 MB / 1.283 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.9873, allocations: 81 kB / 1.283 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.9873, allocations: 0 / 1.283 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.9874, allocations: 5.25 kB / 1.283 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.9874, allocations: 6.406 kB / 1.283 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.9877, allocations: 39.94 kB / 1.283 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.9878, allocations: 29.95 kB / 1.283 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.9878, allocations: 2.156 kB / 1.283 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.9878, allocations: 13.19 kB / 1.283 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.988, allocations: 67.73 kB / 1.284 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.988, allocations: 1.438 kB / 1.284 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.9881, allocations: 40 kB / 1.284 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.9882, allocations: 24.44 kB / 1.284 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.9882, allocations: 14.45 kB / 1.284 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.9883, allocations: 64.47 kB / 1.284 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9883, allocations: 0 / 1.284 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9883, allocations: 1.312 kB / 1.284 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.9883, allocations: 4 kB / 1.284 GB, free: 4.824 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004137/0.9888, allocations: 374.1 kB / 1.284 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.9888, allocations: 9.25 kB / 1.284 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.9888, allocations: 8.234 kB / 1.284 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.989, allocations: 167.7 kB / 1.284 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.989, allocations: 1.531 kB / 1.284 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.989, allocations: 2.875 kB / 1.284 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.9892, allocations: 188.6 kB / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9892, allocations: 1.344 kB / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9893, allocations: 2.625 kB / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.9893, allocations: 23.89 kB / 1.284 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.9894, allocations: 35.94 kB / 1.284 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.9901, allocations: 0.9097 MB / 1.285 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.9902, allocations: 171.3 kB / 1.286 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.9903, allocations: 80.14 kB / 1.286 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.9903, allocations: 75.28 kB / 1.286 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.002e-05/0.9904, allocations: 113.1 kB / 1.286 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9904, allocations: 0 / 1.286 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.604e-05/0.9905, allocations: 39.53 kB / 1.286 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/0.9907, allocations: 392 kB / 1.286 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.9908, allocations: 166.1 kB / 1.286 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.9909, allocations: 27.02 kB / 1.286 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.991, allocations: 150.9 kB / 1.287 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.991, allocations: 10.11 kB / 1.287 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.991, allocations: 56.92 kB / 1.287 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9912, allocations: 324.2 kB / 1.287 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.9913, allocations: 26 kB / 1.287 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.9915, allocations: 230.8 kB / 1.287 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.9917, allocations: 203 kB / 1.287 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9917, allocations: 0.75 kB / 1.287 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.992, allocations: 192.2 kB / 1.288 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.992, allocations: 6.938 kB / 1.288 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.992, allocations: 5.312 kB / 1.288 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.9921, allocations: 10.22 kB / 1.288 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.9922, allocations: 43.03 kB / 1.288 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.9922, allocations: 6.859 kB / 1.288 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.9923, allocations: 27.22 kB / 1.288 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.9923, allocations: 13.78 kB / 1.288 GB, free: 1.023 MB / 0.9981 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.0001537/0.9925, allocations: 215.9 kB / 1.288 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.9925, allocations: 110.7 kB / 1.288 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.9926, allocations: 116.4 kB / 1.288 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.372e-05/0.9927, allocations: 184.8 kB / 1.288 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.45e-05/0.9928, allocations: 178.2 kB / 1.288 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-05/0.9929, allocations: 182.4 kB / 1.289 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.9932, allocations: 422.7 kB / 1.289 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-05/0.9932, allocations: 101.6 kB / 1.289 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.9933, allocations: 110.9 kB / 1.289 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-05/0.9933, allocations: 182.1 kB / 1.289 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.9934, allocations: 177.4 kB / 1.29 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.432e-05/0.9935, allocations: 190.3 kB / 1.29 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-05/0.9936, allocations: 178.3 kB / 1.29 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.9938, allocations: 314.2 kB / 1.29 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.9939, allocations: 186 kB / 1.29 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.994, allocations: 192.2 kB / 1.291 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.9941, allocations: 116.3 kB / 1.291 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.9942, allocations: 182.4 kB / 1.291 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.9942, allocations: 101.8 kB / 1.291 GB, free: 13.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.467e-05/0.9943, allocations: 116 kB / 1.291 GB, free: 13.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9943, allocations: 0 / 1.291 GB, free: 13.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003568/0.9947, allocations: 31.12 kB / 1.291 GB, free: 13.43 MB / 1.014 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.0002118/0.9949, allocations: 189.8 kB / 1.291 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.9951, allocations: 70.22 kB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.9951, allocations: 5.688 kB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.9951, allocations: 336 / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.9955, allocations: 474.4 kB / 1.292 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.9958, allocations: 229.8 kB / 1.292 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.9962, allocations: 0.6934 MB / 1.293 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.9964, allocations: 50.86 kB / 1.293 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.9964, allocations: 13.34 kB / 1.293 GB, free: 11.87 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.9964, allocations: 0 / 1.293 GB, free: 11.87 MB / 1.014 GB Notification: Performance of Templates: time 0.004677/1.001, allocations: 1.697 MB / 1.294 GB, free: 11.7 MB / 1.014 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