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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, 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.002002/0.002002, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 74.64 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3639, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00201/0.366, allocations: 0.6144 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000337/0.3663, allocations: 63.84 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.3664, allocations: 4 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.3664, allocations: 3.938 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.3665, allocations: 4 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3668, allocations: 39.94 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3669, allocations: 27.92 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.367, allocations: 4 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.367, allocations: 11.98 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3672, allocations: 63.88 kB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3672, allocations: 0 / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3674, allocations: 43.95 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.3674, allocations: 15.98 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3674, allocations: 23.8 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3676, allocations: 63.8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3676, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3676, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3676, allocations: 4 kB / 1.065 GB, free: 13.54 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.0003519/0.368, allocations: 371.6 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.368, allocations: 8.031 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.3681, allocations: 50.72 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3681, allocations: 8.875 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.3683, allocations: 168.3 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3683, allocations: 384 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3683, allocations: 4.375 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3686, allocations: 188.3 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3686, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3686, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.3687, allocations: 23.92 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.3687, allocations: 35.91 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.3694, allocations: 0.9062 MB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.3695, allocations: 173.1 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.3696, allocations: 80.14 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3696, allocations: 75.28 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.3696, allocations: 105.8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3697, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.859e-05/0.3697, allocations: 45.55 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.3699, allocations: 391.7 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3701, allocations: 168.5 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3701, allocations: 25.7 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.3702, allocations: 151.1 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.3702, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.3703, allocations: 53.61 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3704, allocations: 326.8 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.3705, allocations: 27.92 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3707, allocations: 222.5 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3708, allocations: 197.7 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3709, allocations: 4 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003189/0.3712, allocations: 193.4 kB / 1.068 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3712, allocations: 4 kB / 1.068 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3712, allocations: 12 kB / 1.068 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3713, allocations: 7.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3714, allocations: 39.92 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.3714, allocations: 7.984 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3715, allocations: 27.78 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3715, allocations: 12.38 kB / 1.069 GB, free: 8.996 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.0001242/0.3717, allocations: 219.3 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.3718, allocations: 116.8 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.3718, allocations: 116.8 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.387e-05/0.3719, allocations: 188.2 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/0.372, allocations: 176.3 kB / 1.069 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.928e-05/0.372, allocations: 182 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3723, allocations: 425.1 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.3723, allocations: 105 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.3724, allocations: 108.9 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.739e-05/0.3724, allocations: 176.3 kB / 1.07 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.3725, allocations: 188.2 kB / 1.07 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.305e-05/0.3726, allocations: 180.2 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.172e-05/0.3726, allocations: 180.3 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3728, allocations: 315.7 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.3729, allocations: 185.9 kB / 1.071 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.373, allocations: 188.2 kB / 1.071 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.373, allocations: 109 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.3731, allocations: 184.5 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3732, allocations: 105 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.3733, allocations: 117.7 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3733, allocations: 0 / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003346/0.3736, allocations: 24 kB / 1.072 GB, free: 5.266 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.0004902/0.3741, allocations: 0.8359 MB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3743, allocations: 80.47 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3743, allocations: 0 / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.3743, allocations: 0 / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3747, allocations: 469.2 kB / 1.073 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.3753, allocations: 282.9 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3755, allocations: 0.7007 MB / 1.074 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.3758, allocations: 52.59 kB / 1.074 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.3759, allocations: 23.44 kB / 1.074 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3759, allocations: 0 / 1.074 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.3962, allocations: 2.887 MB / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.622, allocations: 13.19 kB / 1.077 GB, free: 15.96 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/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