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.008555/0.008555, allocations: 100 kB / 15.73 MB, free: 6.043 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.00222/0.00222, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.487/1.487, 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 11.0.1-master/package.mo): time 2.858/2.858, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.299, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001732/0.3008, allocations: 0.6069 MB / 1.208 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.3011, allocations: 75.78 kB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3012, allocations: 4 kB / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.3012, allocations: 0 / 1.208 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.3013, allocations: 7.984 kB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3016, allocations: 43.89 kB / 1.208 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.3017, allocations: 23.97 kB / 1.208 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.3017, allocations: 4 kB / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.3017, allocations: 11.98 kB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.3019, allocations: 67.88 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3019, allocations: 4 kB / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.302, allocations: 35.91 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.3021, allocations: 19.97 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.3021, allocations: 23.81 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3022, allocations: 67.8 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3023, allocations: 3.984 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3023, allocations: 0 / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3023, allocations: 0 / 1.208 GB, free: 9.121 MB / 0.9669 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.0003217/0.3026, allocations: 359.7 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3026, allocations: 8.625 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.3027, allocations: 46.73 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.3027, allocations: 8.844 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.3028, allocations: 168.3 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3028, allocations: 4.375 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.3029, allocations: 384 / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3031, allocations: 179.3 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3031, allocations: 7.938 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3031, allocations: 4 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.3032, allocations: 23.98 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.3033, allocations: 35.91 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.3039, allocations: 0.9023 MB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.304, allocations: 165.1 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.3041, allocations: 84.12 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3041, allocations: 87.22 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.3041, allocations: 113.8 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3041, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.304e-05/0.3042, allocations: 37.59 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.3044, allocations: 391.7 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3045, allocations: 164.1 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3046, allocations: 29.7 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3047, allocations: 151.1 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.3047, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.3047, allocations: 57.61 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3048, allocations: 322.8 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.3049, allocations: 31.86 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.3051, allocations: 218.6 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3053, allocations: 205.7 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3053, allocations: 4 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002979/0.3056, allocations: 189.7 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3057, allocations: 11.98 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3057, allocations: 8.062 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3057, allocations: 11.94 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3058, allocations: 35.92 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3059, allocations: 11.94 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.617e-05/0.306, allocations: 31.69 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.306, allocations: 8 kB / 1.212 GB, free: 4.574 MB / 0.9669 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.0001779/0.3062, allocations: 217 kB / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.3062, allocations: 109 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.3063, allocations: 120.7 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/0.3064, allocations: 180.3 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-05/0.3064, allocations: 180.3 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-05/0.3065, allocations: 180.2 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.3068, allocations: 421.2 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.3068, allocations: 108.9 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.3068, allocations: 101 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.3069, allocations: 176.3 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.307, allocations: 188.6 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/0.307, allocations: 180.2 kB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.821e-05/0.3071, allocations: 188.2 kB / 1.214 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.3073, allocations: 304 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.3074, allocations: 198 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.3074, allocations: 188.2 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3076, allocations: 108.9 kB / 1.215 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3076, allocations: 184.3 kB / 1.215 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.3077, allocations: 104.9 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.3078, allocations: 117.6 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3078, allocations: 3.938 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003249/0.3081, allocations: 28 kB / 1.216 GB, free: 0.8438 MB / 0.9669 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.0005194/0.3086, allocations: 0.8322 MB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3088, allocations: 80.89 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3088, allocations: 0 / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.3088, allocations: 3.938 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3092, allocations: 471.7 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.3098, allocations: 276.2 kB / 1.217 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.31, allocations: 0.689 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.3103, allocations: 60.58 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3103, allocations: 23.44 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3103, allocations: 0 / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3295, allocations: 2.951 MB / 1.221 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.927, allocations: 13.77 kB / 1.221 GB, free: 11.49 MB / 0.9825 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=50 --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