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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 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.001151/0.001151, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.98 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3286, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001948/0.3306, allocations: 0.5933 MB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.3309, allocations: 71.78 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.331, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.331, allocations: 7.922 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.3311, allocations: 4 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3315, allocations: 47.88 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.3315, allocations: 19.98 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.3316, allocations: 7.984 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.3316, allocations: 11.98 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3318, allocations: 63.89 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3319, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.332, allocations: 43.95 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.332, allocations: 15.98 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.3321, allocations: 23.8 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3322, allocations: 59.8 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3322, allocations: 4 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3322, allocations: 4 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3323, allocations: 3.938 kB / 1.069 GB, free: 9.375 MB / 0.8262 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.0004067/0.3327, allocations: 367.7 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3327, allocations: 12.03 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.3328, allocations: 4.938 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.368e-05/0.3329, allocations: 160.4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3329, allocations: 4.375 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3329, allocations: 384 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3331, allocations: 192.9 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3332, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3332, allocations: 4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.3332, allocations: 23.91 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.3333, allocations: 39.91 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.334, allocations: 0.9139 MB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.3341, allocations: 169.1 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.3342, allocations: 80.14 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3342, allocations: 75.28 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.3342, allocations: 113.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.3342, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.703e-05/0.3343, allocations: 37.55 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.3345, allocations: 395.7 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3346, allocations: 163.9 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3347, allocations: 25.7 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.3348, allocations: 151.1 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.3348, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.3348, allocations: 61.55 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.335, allocations: 322.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.335, allocations: 23.98 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.3352, allocations: 230.5 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3354, allocations: 201.7 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3354, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002985/0.3357, allocations: 193.4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3357, allocations: 8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3357, allocations: 8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3358, allocations: 7.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3359, allocations: 47.91 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.3359, allocations: 8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.336, allocations: 19.78 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.336, allocations: 16.34 kB / 1.073 GB, free: 4.875 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.0001201/0.3361, allocations: 209.6 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.3362, allocations: 119 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.3363, allocations: 120.6 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/0.3363, allocations: 188.2 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.3364, allocations: 176.3 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-05/0.3365, allocations: 184.3 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3367, allocations: 421.1 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.3367, allocations: 105 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3368, allocations: 104.9 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-05/0.3369, allocations: 180.3 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.3369, allocations: 176.3 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.427e-05/0.337, allocations: 192.1 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-05/0.3371, allocations: 180.2 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3372, allocations: 311.7 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.3373, allocations: 186 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.3374, allocations: 188.2 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.3375, allocations: 108.9 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.3376, allocations: 184.5 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.3377, allocations: 105 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.3377, allocations: 114.1 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3377, allocations: 0 / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003177/0.3381, allocations: 28 kB / 1.077 GB, free: 1.148 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.000212/0.3383, allocations: 190.5 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.3385, allocations: 77 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3385, allocations: 7.875 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3385, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3389, allocations: 479.7 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.3392, allocations: 232.7 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3394, allocations: 0.6929 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.3397, allocations: 60.58 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3397, allocations: 15.44 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3397, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.004163/0.3439, allocations: 1.666 MB / 1.08 GB, free: 13.72 MB / 0.8419 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