Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_11_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.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 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.001427/0.001427, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001815, allocations: 66.59 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001803/0.3154, allocations: 0.6109 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.3157, allocations: 67.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.3158, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.3158, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.3159, allocations: 11.92 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.3163, allocations: 35.95 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.3164, allocations: 31.91 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.3164, allocations: 4 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.3165, allocations: 8 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.3167, allocations: 67.86 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3167, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3169, allocations: 35.97 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.3169, allocations: 15.92 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.317, allocations: 23.86 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3171, allocations: 67.78 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3172, allocations: 0 / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3172, allocations: 4 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3172, allocations: 4 kB / 1.065 GB, free: 13.23 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.0004288/0.3176, allocations: 363.7 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3177, allocations: 12.03 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.3177, allocations: 38.73 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.3178, allocations: 4.938 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3179, allocations: 172.3 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3179, allocations: 4.375 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3179, allocations: 4.359 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3182, allocations: 179 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3182, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3182, allocations: 11.98 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.3183, allocations: 19.97 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.3183, allocations: 39.86 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.3191, allocations: 0.9023 MB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3192, allocations: 177.1 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.3193, allocations: 80.14 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.3193, allocations: 75.28 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.3194, allocations: 109.8 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3194, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.523e-05/0.3195, allocations: 41.53 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.3197, allocations: 399.7 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3199, allocations: 161.7 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3199, allocations: 29.69 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.32, allocations: 147.2 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.32, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.3201, allocations: 65.48 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3202, allocations: 318.8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.3203, allocations: 23.98 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.3205, allocations: 223.5 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3207, allocations: 201.8 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3208, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003201/0.3211, allocations: 193.4 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3211, allocations: 8 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3211, allocations: 11.88 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3211, allocations: 4 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3213, allocations: 39.92 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3213, allocations: 11.98 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.3214, allocations: 23.78 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3214, allocations: 12.38 kB / 1.069 GB, free: 8.699 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.000152/0.3216, allocations: 221 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.3217, allocations: 112.8 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.3217, allocations: 120.8 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.274e-05/0.3218, allocations: 182.1 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-05/0.3219, allocations: 184.2 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.978e-05/0.322, allocations: 180.3 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3223, allocations: 425.1 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.3224, allocations: 105 kB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.3224, allocations: 101 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.147e-05/0.3225, allocations: 180.2 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/0.3226, allocations: 184.2 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.412e-05/0.3227, allocations: 192.2 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.819e-05/0.3228, allocations: 176.3 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.323, allocations: 307.7 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3231, allocations: 194 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.3232, allocations: 188.1 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.3233, allocations: 105 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.3234, allocations: 180.5 kB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3234, allocations: 109 kB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.487e-05/0.3235, allocations: 121.9 kB / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3235, allocations: 0 / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003246/0.3239, allocations: 28 kB / 1.072 GB, free: 4.961 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.0005441/0.3244, allocations: 0.8481 MB / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3246, allocations: 72.59 kB / 1.073 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3246, allocations: 4 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3246, allocations: 0 / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.325, allocations: 463.7 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.3255, allocations: 280.4 kB / 1.074 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3259, allocations: 0.689 MB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.3261, allocations: 60.58 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3261, allocations: 23.44 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3261, allocations: 3.938 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.503/1.829, allocations: 2.877 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/12.51, allocations: 8.391 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches