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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001012/0.001012, allocations: 98.88 kB / 16.02 MB, free: 76 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.001192/0.001193, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 12.23 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.5974, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007042/0.5981, allocations: 337.5 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.5984, allocations: 71.84 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.5985, allocations: 3.938 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.5985, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.5985, allocations: 7.938 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.5988, allocations: 35.89 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.5988, allocations: 35.95 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.5989, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.5989, allocations: 12 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.5991, allocations: 75.84 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.5991, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.5992, allocations: 35.95 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.5993, allocations: 12 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.5993, allocations: 53.5 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.5994, allocations: 43.94 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5994, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5994, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5994, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.7794 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.0002873/0.5997, allocations: 341.4 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5998, allocations: 16.02 kB / 1.025 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.5998, allocations: 8.844 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.5999, allocations: 168.3 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.5999, allocations: 384 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.5999, allocations: 8.359 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.6002, allocations: 182.2 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6002, allocations: 3.984 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.6002, allocations: 7.984 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.6002, allocations: 23.92 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.6003, allocations: 35.91 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.601, allocations: 0.9061 MB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.6011, allocations: 177.1 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.6011, allocations: 80.14 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.6011, allocations: 75.28 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.6012, allocations: 105.8 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6012, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.083e-05/0.6013, allocations: 37.64 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.6014, allocations: 391.7 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6016, allocations: 169.6 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6016, allocations: 25.7 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.6017, allocations: 151.1 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/0.6017, allocations: 7.984 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.6017, allocations: 21.72 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6018, allocations: 322.8 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.6019, allocations: 23.98 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.6021, allocations: 233.2 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.6023, allocations: 205.8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6023, allocations: 7.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002824/0.6026, allocations: 185.5 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6026, allocations: 8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6026, allocations: 7.984 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6026, allocations: 8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6028, allocations: 39.86 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6028, allocations: 8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.3e-05/0.6029, allocations: 27.75 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.6029, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 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.0001244/0.603, allocations: 221.2 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.6031, allocations: 112.8 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.6032, allocations: 112.8 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.435e-05/0.6032, allocations: 188.2 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.275e-05/0.6033, allocations: 180.2 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.6033, allocations: 180.3 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.6036, allocations: 429.1 kB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.6036, allocations: 101 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.6037, allocations: 104.9 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-05/0.6037, allocations: 180.3 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.6038, allocations: 176.3 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/0.6039, allocations: 188.1 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-05/0.6039, allocations: 188.2 kB / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.6041, allocations: 307.7 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.6041, allocations: 182.1 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.6042, allocations: 196.2 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.6043, allocations: 104.9 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.6044, allocations: 184.2 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.6044, allocations: 101 kB / 1.032 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.6045, allocations: 111.2 kB / 1.032 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6045, allocations: 7.938 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003058/0.6048, allocations: 31.98 kB / 1.032 GB, free: 6.957 MB / 0.7794 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.0001896/0.605, allocations: 194.5 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.6052, allocations: 71.78 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6052, allocations: 1.312 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.6052, allocations: 3.938 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.6056, allocations: 0.5302 MB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.6059, allocations: 268.8 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.6061, allocations: 0.6932 MB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.6062, allocations: 19.44 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.6062, allocations: 4.094 kB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of Templates: time 0.003336/0.6095, allocations: 1.698 MB / 1.035 GB, free: 3.43 MB / 0.7794 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/jenkins1/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