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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.005259/0.005259, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001489/0.001489, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 72.11 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3104, allocations: 162.3 MB / 1.242 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001697/0.3121, allocations: 0.5953 MB / 1.242 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.3124, allocations: 75.78 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.3125, allocations: 3.938 kB / 1.243 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.3125, allocations: 4 kB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.3126, allocations: 7.922 kB / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3128, allocations: 47.89 kB / 1.243 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.3129, allocations: 27.95 kB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.313, allocations: 4 kB / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.313, allocations: 11.98 kB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.3132, allocations: 67.88 kB / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3132, allocations: 0 / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3133, allocations: 43.89 kB / 1.243 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.3134, allocations: 12 kB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.3134, allocations: 23.8 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3136, allocations: 67.73 kB / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3136, allocations: 0 / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3136, allocations: 0 / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.3136, allocations: 0 / 1.243 GB, free: 8.762 MB / 0.9981 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.0004258/0.314, allocations: 367.3 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3141, allocations: 12.03 kB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3141, allocations: 38.75 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.3142, allocations: 8.891 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3143, allocations: 172.2 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3143, allocations: 384 / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3143, allocations: 8.359 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3146, allocations: 175.3 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3146, allocations: 3.938 kB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3146, allocations: 7.969 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.3146, allocations: 27.97 kB / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.3147, allocations: 35.91 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.3154, allocations: 0.9023 MB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.3155, allocations: 169.1 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.3156, allocations: 84.14 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.3156, allocations: 87.2 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.3157, allocations: 105.8 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3157, allocations: 0 / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.888e-05/0.3158, allocations: 37.66 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.316, allocations: 387.7 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3161, allocations: 172 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3162, allocations: 25.7 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3163, allocations: 155.5 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.3163, allocations: 7.984 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.3164, allocations: 53.66 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3165, allocations: 318.8 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.3166, allocations: 31.91 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.3168, allocations: 228.4 kB / 1.246 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.317, allocations: 209.7 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.317, allocations: 0 / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003144/0.3174, allocations: 189.7 kB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3174, allocations: 4 kB / 1.247 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3174, allocations: 8 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3174, allocations: 7.938 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3175, allocations: 39.92 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3176, allocations: 7.938 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3177, allocations: 27.84 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3177, allocations: 12 kB / 1.247 GB, free: 4.207 MB / 0.9981 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.0001512/0.3178, allocations: 217.7 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.3179, allocations: 112.9 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.318, allocations: 120.7 kB / 1.247 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.472e-05/0.3181, allocations: 180.3 kB / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.153e-05/0.3182, allocations: 180.3 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.489e-05/0.3182, allocations: 188.2 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3185, allocations: 417.2 kB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.3186, allocations: 104.9 kB / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.3186, allocations: 105 kB / 1.248 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-05/0.3187, allocations: 180.2 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.3188, allocations: 184.1 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-05/0.3189, allocations: 180.3 kB / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.232e-05/0.319, allocations: 188.2 kB / 1.249 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3191, allocations: 308 kB / 1.249 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.3192, allocations: 190 kB / 1.25 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.3193, allocations: 188.2 kB / 1.25 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3194, allocations: 116.9 kB / 1.25 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.3195, allocations: 176.3 kB / 1.25 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.3196, allocations: 105 kB / 1.25 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.91e-05/0.3197, allocations: 120.7 kB / 1.25 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3197, allocations: 0 / 1.25 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003003/0.32, allocations: 28 kB / 1.25 GB, free: 480 kB / 0.9981 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.5065/0.8265, allocations: 0.821 MB / 1.251 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.8268, allocations: 79.83 kB / 1.251 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8268, allocations: 1.375 kB / 1.251 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.8268, allocations: 2.609 kB / 1.251 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.8271, allocations: 465 kB / 1.252 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.8276, allocations: 276.3 kB / 1.252 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.8277, allocations: 0.6921 MB / 1.253 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.8279, allocations: 62.39 kB / 1.253 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.8279, allocations: 21.44 kB / 1.253 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.828, allocations: 0 / 1.253 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/1.136, allocations: 2.937 MB / 1.255 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.6, allocations: 9.656 kB / 1.255 GB, free: 12.95 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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