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.004179/0.004179, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00124/0.00124, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.84 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6405, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001653/0.6422, allocations: 0.5991 MB / 1.221 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000305/0.6425, allocations: 69.81 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.6425, allocations: 7.875 kB / 1.221 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.6426, allocations: 0 / 1.221 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.6426, allocations: 7.984 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.6429, allocations: 51.89 kB / 1.221 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.908e-05/0.643, allocations: 27.95 kB / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.643, allocations: 0 / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.6431, allocations: 8 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.6432, allocations: 71.86 kB / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.6433, allocations: 0 / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.6434, allocations: 39.91 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.6434, allocations: 15.98 kB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.6434, allocations: 19.81 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.6436, allocations: 74.44 kB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6436, allocations: 4 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6436, allocations: 0 / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6436, allocations: 0 / 1.221 GB, free: 1.012 MB / 0.9356 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.0003541/0.644, allocations: 356.3 kB / 1.222 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.644, allocations: 12.02 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.6441, allocations: 38.75 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.6441, allocations: 12.89 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.6442, allocations: 176.2 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6442, allocations: 4.359 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.6442, allocations: 8.375 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6445, allocations: 176.8 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6445, allocations: 7.938 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6445, allocations: 0 / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.6446, allocations: 23.98 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.6446, allocations: 43.84 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.6454, allocations: 0.9062 MB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.6455, allocations: 169.1 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.6455, allocations: 80.14 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.6456, allocations: 83.22 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.6456, allocations: 105.8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6456, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.888e-05/0.6457, allocations: 45.64 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.6459, allocations: 387.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.6461, allocations: 163.3 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6461, allocations: 25.7 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.6462, allocations: 159.4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.6462, allocations: 4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.6463, allocations: 49.66 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6464, allocations: 330.8 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.6465, allocations: 27.92 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.6467, allocations: 225.4 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.6469, allocations: 201.7 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6469, allocations: 4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003062/0.6472, allocations: 197.1 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6473, allocations: 6.188 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6473, allocations: 8 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6473, allocations: 7.938 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6474, allocations: 39.92 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6474, allocations: 8.562 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.6475, allocations: 31.84 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.6476, allocations: 8 kB / 1.225 GB, free: 12.46 MB / 0.9512 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.0001375/0.6477, allocations: 217.5 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.6478, allocations: 109 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.6479, allocations: 120.7 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-05/0.6479, allocations: 180.3 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.176e-05/0.648, allocations: 180.3 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.512e-05/0.6481, allocations: 180.2 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.6484, allocations: 421.2 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.6484, allocations: 104.9 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.6485, allocations: 109 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-05/0.6486, allocations: 180.3 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.6486, allocations: 184.1 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.295e-05/0.6487, allocations: 184.2 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-05/0.6488, allocations: 188.2 kB / 1.227 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.649, allocations: 304.7 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.6491, allocations: 194.1 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.6492, allocations: 192.1 kB / 1.228 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.6493, allocations: 108.9 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.6493, allocations: 176.3 kB / 1.228 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.6494, allocations: 101 kB / 1.228 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.678e-05/0.6495, allocations: 123.2 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6495, allocations: 4 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003204/0.6498, allocations: 24 kB / 1.229 GB, free: 8.723 MB / 0.9512 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.0004962/0.6503, allocations: 0.8285 MB / 1.229 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.6505, allocations: 75.78 kB / 1.229 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6505, allocations: 0 / 1.229 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.6505, allocations: 3.938 kB / 1.229 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.6509, allocations: 465 kB / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.6514, allocations: 286.2 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6517, allocations: 0.6968 MB / 1.231 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.6519, allocations: 52.59 kB / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.6519, allocations: 19.44 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.652, allocations: 0 / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.6747, allocations: 2.942 MB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.274, allocations: 12.47 kB / 1.234 GB, free: 3.387 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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