Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007399/0.007399, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.001301/0.001301, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 151.6 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001727/0.3012, allocations: 0.6022 MB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.3016, allocations: 67.78 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.3016, allocations: 4 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.3016, allocations: 3.984 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.3017, allocations: 7.938 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.302, allocations: 47.94 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.3021, allocations: 27.91 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3021, allocations: 4 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.3022, allocations: 15.92 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3024, allocations: 55.95 kB / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3024, allocations: 11.98 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3025, allocations: 35.95 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3026, allocations: 19.92 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.3026, allocations: 19.88 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3028, allocations: 63.73 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3028, allocations: 4 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3028, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3028, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 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.0003661/0.3032, allocations: 359.3 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3032, allocations: 16.03 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3032, allocations: 16.83 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.3033, allocations: 168.3 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3034, allocations: 4.375 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3034, allocations: 384 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3036, allocations: 179.4 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3036, allocations: 4 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3036, allocations: 8 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.3037, allocations: 15.98 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.3038, allocations: 43.89 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.3044, allocations: 0.914 MB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.3045, allocations: 173.4 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.3046, allocations: 80.14 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3046, allocations: 83.31 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3046, allocations: 109.8 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3046, allocations: 0 / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.009e-05/0.3047, allocations: 37.64 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.3049, allocations: 391.7 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.305, allocations: 164.1 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3051, allocations: 25.7 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.3051, allocations: 163.5 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.3052, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.3052, allocations: 57.66 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3053, allocations: 322.8 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.3054, allocations: 23.98 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3056, allocations: 224.6 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3057, allocations: 197.8 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3057, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002957/0.306, allocations: 189.2 kB / 1.171 GB, free: 1.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3061, allocations: 12.64 kB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3061, allocations: 8 kB / 1.171 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3061, allocations: 7.938 kB / 1.171 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3062, allocations: 43.92 kB / 1.171 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3062, allocations: 11.94 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.3063, allocations: 19.89 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3064, allocations: 12 kB / 1.172 GB, free: 1.258 MB / 0.92 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.0001234/0.3065, allocations: 213 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3066, allocations: 112.9 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3066, allocations: 124.8 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.305e-05/0.3067, allocations: 180.2 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.3067, allocations: 180.2 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.555e-05/0.3068, allocations: 180.4 kB / 1.172 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.307, allocations: 425.1 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/0.3071, allocations: 112.9 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.3071, allocations: 101 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.211e-05/0.3072, allocations: 180.2 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.3072, allocations: 180.2 kB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.908e-05/0.3073, allocations: 192.2 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-05/0.3074, allocations: 180.2 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3075, allocations: 311.7 kB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3076, allocations: 194 kB / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.3077, allocations: 176.3 kB / 1.174 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.3078, allocations: 113.1 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.3079, allocations: 180.3 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.308, allocations: 112.9 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.94e-05/0.3081, allocations: 115.2 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3081, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003103/0.3084, allocations: 28 kB / 1.175 GB, free: 13.52 MB / 0.9356 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.0002251/0.3086, allocations: 182.5 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3088, allocations: 79.89 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3088, allocations: 4 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3088, allocations: 0 / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3092, allocations: 464.9 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.3095, allocations: 232.6 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3098, allocations: 0.689 MB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.3099, allocations: 60.58 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.31, allocations: 11.44 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.31, allocations: 4 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.004147/0.3141, allocations: 1.683 MB / 1.178 GB, free: 10.1 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches