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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001222/0.001222, allocations: 100 kB / 15.05 MB, free: 1.105 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.001486/0.001486, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.826/2.826, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004375, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9181, allocations: 153.7 MB / 1.021 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009362/0.9191, allocations: 337.4 kB / 1.021 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.9195, allocations: 63.89 kB / 1.021 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.9195, allocations: 0 / 1.021 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.9196, allocations: 3.984 kB / 1.021 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.9197, allocations: 11.92 kB / 1.021 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.92, allocations: 35.89 kB / 1.021 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.92, allocations: 15.98 kB / 1.021 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.9201, allocations: 11.94 kB / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.9202, allocations: 19.97 kB / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.9204, allocations: 71.86 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.9204, allocations: 4 kB / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.9205, allocations: 27.97 kB / 1.021 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.9206, allocations: 23.97 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.9206, allocations: 29.64 kB / 1.021 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.9207, allocations: 35.95 kB / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9207, allocations: 0 / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9207, allocations: 0 / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9207, allocations: 4 kB / 1.021 GB, free: 0.5703 MB / 0.7637 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.0003769/0.9211, allocations: 353.4 kB / 1.022 GB, free: 184 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.9212, allocations: 11.98 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.9212, allocations: 11.91 kB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.9214, allocations: 175 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.9214, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.9214, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.9217, allocations: 180.4 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.9217, allocations: 3.938 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.9217, allocations: 8 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.9218, allocations: 15.98 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.9219, allocations: 35.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.9226, allocations: 0.9062 MB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.9227, allocations: 173.1 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.9228, allocations: 83.23 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.83e-05/0.9229, allocations: 109.8 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.9229, allocations: 3.938 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.95e-05/0.9229, allocations: 37.61 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.9231, allocations: 391.7 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.9233, allocations: 165.1 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.9233, allocations: 29.7 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.9234, allocations: 151.3 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.9234, allocations: 4 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.9234, allocations: 4 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.9235, allocations: 318.8 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.9236, allocations: 24.36 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.9238, allocations: 223.3 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.9238, allocations: 67.88 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9239, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002851/0.9242, allocations: 189.7 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9242, allocations: 12.05 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9242, allocations: 7.938 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9242, allocations: 8 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.9244, allocations: 39.92 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9244, allocations: 4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.9245, allocations: 31.69 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.9245, allocations: 12 kB / 1.025 GB, free: 12.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.9246, allocations: 213 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.9247, allocations: 116.9 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.9248, allocations: 120.8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/0.9248, allocations: 180.2 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.9249, allocations: 176.3 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-05/0.9249, allocations: 180.2 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.9252, allocations: 425.2 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.9252, allocations: 101 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.9253, allocations: 108.9 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/0.9253, allocations: 176.3 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.9254, allocations: 188.2 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.107e-05/0.9255, allocations: 180.2 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.9255, allocations: 184.3 kB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.9257, allocations: 315.9 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.9258, allocations: 186 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.9259, allocations: 188.2 kB / 1.028 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.926, allocations: 116.9 kB / 1.028 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.9261, allocations: 184.2 kB / 1.028 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.9261, allocations: 105 kB / 1.028 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.9262, allocations: 118.2 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9262, allocations: 0 / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002989/0.9265, allocations: 24 kB / 1.029 GB, free: 8.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.9267, allocations: 190.5 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.9269, allocations: 67.78 kB / 1.029 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.9269, allocations: 4 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.9269, allocations: 1.312 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.9272, allocations: 0.536 MB / 1.029 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.9276, allocations: 226.6 kB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.9279, allocations: 0.6932 MB / 1.03 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.9281, allocations: 56.58 kB / 1.03 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.9281, allocations: 15.44 kB / 1.03 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.9281, allocations: 4 kB / 1.03 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of Templates: time 0.004195/0.9323, allocations: 1.692 MB / 1.032 GB, free: 5.184 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches