Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_10_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.001735/0.001735, allocations: 108.6 kB / 15.73 MB, free: 72 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.001793/0.001793, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.51/1.51, 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 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.14 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001691/0.2959, allocations: 0.6039 MB / 1.167 GB, free: 6.691 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.2962, allocations: 67.8 kB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.2962, allocations: 0 / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.2963, allocations: 7.984 kB / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2964, allocations: 3.938 kB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.2966, allocations: 51.94 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.2967, allocations: 23.97 kB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.2968, allocations: 0 / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.2968, allocations: 15.92 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.297, allocations: 67.94 kB / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.297, allocations: 0 / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2971, allocations: 43.89 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.2972, allocations: 19.92 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2972, allocations: 15.88 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2973, allocations: 72 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.2974, allocations: 0 / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2974, allocations: 3.938 kB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2974, allocations: 0 / 1.167 GB, free: 6.305 MB / 0.92 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.000393/0.2978, allocations: 363.3 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2978, allocations: 8.031 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.2979, allocations: 46.73 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.2979, allocations: 8.891 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2981, allocations: 168.3 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2981, allocations: 4.359 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.2981, allocations: 4.375 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2984, allocations: 189.5 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2984, allocations: 0 / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2984, allocations: 3.938 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.2984, allocations: 23.98 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.2985, allocations: 35.91 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.2993, allocations: 0.9062 MB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2994, allocations: 169.5 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.2995, allocations: 92.11 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.2995, allocations: 75.28 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.2996, allocations: 109.8 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.2996, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.887e-05/0.2997, allocations: 37.66 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/0.2999, allocations: 383.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3001, allocations: 173.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3001, allocations: 29.7 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3002, allocations: 155.5 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.3002, allocations: 7.938 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.3003, allocations: 49.66 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3005, allocations: 326.8 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.3005, allocations: 23.98 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3007, allocations: 224.8 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.301, allocations: 197.8 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.301, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000336/0.3013, allocations: 193.7 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3013, allocations: 4 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3014, allocations: 8 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3014, allocations: 7.938 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3015, allocations: 39.92 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3015, allocations: 11.92 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.3016, allocations: 23.89 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.3017, allocations: 12 kB / 1.171 GB, free: 1.758 MB / 0.92 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.0001598/0.3018, allocations: 217.1 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.3019, allocations: 116.9 kB / 1.171 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.302, allocations: 116.7 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.111e-05/0.3021, allocations: 184.2 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.454e-05/0.3022, allocations: 184.2 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.091e-05/0.3023, allocations: 180.2 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3026, allocations: 425.2 kB / 1.172 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.292e-05/0.3026, allocations: 108.9 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.3027, allocations: 109 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.3028, allocations: 176.3 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.3029, allocations: 184.1 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.689e-05/0.303, allocations: 176.3 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.84e-05/0.3031, allocations: 188.2 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.3033, allocations: 315.7 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.3034, allocations: 182 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3035, allocations: 188.2 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3037, allocations: 117.2 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.3038, allocations: 176.3 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.3038, allocations: 104.9 kB / 1.174 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.3039, allocations: 117.7 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3039, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003347/0.3042, allocations: 24 kB / 1.175 GB, free: 14.02 MB / 0.9356 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.0005613/0.3048, allocations: 0.836 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.305, allocations: 80.59 kB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.305, allocations: 448 / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.305, allocations: 12 kB / 1.175 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3055, allocations: 463.7 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.306, allocations: 266.3 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3063, allocations: 0.6968 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.3065, allocations: 56.59 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3066, allocations: 15.44 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3066, allocations: 4 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.3313, allocations: 2.933 MB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.288, allocations: 4.016 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches