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.005383/0.005383, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001323/0.001323, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.765/2.765, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3192, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001768/0.3211, allocations: 0.6147 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.3214, allocations: 67.84 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.3214, allocations: 0 / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.3215, allocations: 3.984 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.3215, allocations: 7.938 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3218, allocations: 47.94 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.3219, allocations: 23.92 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3219, allocations: 3.984 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.322, allocations: 15.98 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3221, allocations: 63.89 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3222, allocations: 0 / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.3223, allocations: 35.95 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.3223, allocations: 19.98 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3223, allocations: 23.8 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3225, allocations: 67.73 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3225, allocations: 0 / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3225, allocations: 0 / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3225, allocations: 0 / 1.221 GB, free: 13.31 MB / 0.9825 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.0003428/0.3229, allocations: 367.3 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3229, allocations: 8.031 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3229, allocations: 42.73 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.323, allocations: 12.83 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3231, allocations: 168.3 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3231, allocations: 384 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3231, allocations: 4.375 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3234, allocations: 184.1 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3234, allocations: 4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3234, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.3235, allocations: 23.98 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.3235, allocations: 43.83 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.3242, allocations: 0.9063 MB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.3243, allocations: 169.1 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.3243, allocations: 93.98 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.3244, allocations: 75.28 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.3244, allocations: 105.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3244, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.579e-05/0.3245, allocations: 41.59 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.3247, allocations: 387.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3249, allocations: 168 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3249, allocations: 33.64 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.325, allocations: 151.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.325, allocations: 7.984 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.3251, allocations: 53.66 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3253, allocations: 318.8 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.3253, allocations: 27.97 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3255, allocations: 232.5 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3257, allocations: 197.8 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.3257, allocations: 4 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002921/0.326, allocations: 193.7 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3261, allocations: 7.938 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3261, allocations: 8 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3261, allocations: 11.94 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3262, allocations: 39.92 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3262, allocations: 4 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.3263, allocations: 27.84 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3264, allocations: 11.98 kB / 1.225 GB, free: 8.75 MB / 0.9825 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.0001383/0.3265, allocations: 217.6 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.3266, allocations: 116.9 kB / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.3266, allocations: 112.8 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/0.3267, allocations: 180.3 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.3268, allocations: 180.2 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.3269, allocations: 180.2 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3271, allocations: 425.2 kB / 1.226 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.3272, allocations: 101 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.3272, allocations: 105 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.489e-05/0.3273, allocations: 184.2 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.3274, allocations: 180.2 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.316e-05/0.3275, allocations: 180.2 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.27e-05/0.3276, allocations: 188.3 kB / 1.227 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3277, allocations: 311.9 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.3278, allocations: 186.1 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.3279, allocations: 192.1 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.328, allocations: 113 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.3281, allocations: 184.2 kB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.3282, allocations: 101 kB / 1.228 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.602e-05/0.3282, allocations: 115.2 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3283, allocations: 0 / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003033/0.3286, allocations: 24 kB / 1.229 GB, free: 5.027 MB / 0.9825 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.0005036/0.3291, allocations: 0.8399 MB / 1.229 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3292, allocations: 76.59 kB / 1.229 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3292, allocations: 4.375 kB / 1.229 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.3293, allocations: 4 kB / 1.229 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3296, allocations: 468.1 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.3301, allocations: 282.1 kB / 1.23 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3304, allocations: 0.6968 MB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.3306, allocations: 56.53 kB / 1.231 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3306, allocations: 27.42 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3306, allocations: 4 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/1.336, allocations: 2.931 MB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.24, allocations: 7.875 kB / 1.234 GB, free: 15.68 MB / 0.9981 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