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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001118/0.001118, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008642/0.008643, allocations: 173 kB / 16.26 MB, free: 6.613 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 11.25 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007436/0.3185, allocations: 350.7 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.3189, allocations: 67.84 kB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.3189, allocations: 4 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.319, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.319, allocations: 7.984 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3193, allocations: 39.95 kB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.3194, allocations: 27.91 kB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3194, allocations: 4 kB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.3194, allocations: 11.98 kB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.3197, allocations: 67.86 kB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3197, allocations: 4 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3198, allocations: 35.95 kB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.3199, allocations: 19.92 kB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.3199, allocations: 45.58 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3201, allocations: 67.78 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3201, allocations: 4 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3201, allocations: 0 / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3201, allocations: 0 / 1.059 GB, free: 4.715 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.0003579/0.3205, allocations: 355.7 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3205, allocations: 8.031 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3206, allocations: 8.844 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3207, allocations: 168.4 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3207, allocations: 4.359 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3207, allocations: 384 / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.321, allocations: 185.1 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.321, allocations: 0 / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.321, allocations: 4 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.3211, allocations: 27.91 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.3211, allocations: 35.91 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.3219, allocations: 0.9022 MB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3221, allocations: 181.2 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3221, allocations: 80.14 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3221, allocations: 75.28 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.3222, allocations: 109.8 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3222, allocations: 3.938 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001018/0.3223, allocations: 45.53 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.3225, allocations: 391.7 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3227, allocations: 167.5 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3227, allocations: 29.7 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3228, allocations: 151 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.3228, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3229, allocations: 29.7 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.323, allocations: 318.8 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.323, allocations: 35.91 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.3232, allocations: 220.6 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3234, allocations: 201.7 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3235, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003074/0.3238, allocations: 189.5 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3238, allocations: 8 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3238, allocations: 4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3238, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3239, allocations: 43.86 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.324, allocations: 11.98 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.3241, allocations: 27.69 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.3241, allocations: 12.38 kB / 1.063 GB, free: 264 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.3243, allocations: 213 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.3243, allocations: 116.8 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.3244, allocations: 112.9 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/0.3245, allocations: 184.1 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-05/0.3245, allocations: 180.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/0.3246, allocations: 184.3 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3248, allocations: 421.2 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.3249, allocations: 105 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.325, allocations: 108.9 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.374e-05/0.325, allocations: 176.3 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.3251, allocations: 180.3 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001127/0.3252, allocations: 196.1 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.575e-05/0.3253, allocations: 176.3 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3255, allocations: 311.9 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.3255, allocations: 194 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.3256, allocations: 188.2 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3257, allocations: 112.9 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3258, allocations: 180.2 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3258, allocations: 105 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.3259, allocations: 111.2 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3259, allocations: 96 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003257/0.3263, allocations: 35.94 kB / 1.067 GB, free: 12.52 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.0002177/0.3265, allocations: 182.5 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3267, allocations: 80.83 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.3267, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3267, allocations: 4.125 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3271, allocations: 0.5379 MB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.3274, allocations: 242.6 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3277, allocations: 0.701 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.328, allocations: 52.58 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.328, allocations: 15.44 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.328, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.005369/0.3334, allocations: 1.74 MB / 1.07 GB, free: 8.941 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