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.008124/0.008124, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.00186/0.00186, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.471/2.471, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.84 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9048, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001951/0.9068, allocations: 0.6039 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.9073, allocations: 77.69 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.9074, allocations: 0 / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.9074, allocations: 3.984 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.9075, allocations: 8 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.908, allocations: 47.88 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.9081, allocations: 15.98 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.9082, allocations: 8 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.9082, allocations: 11.98 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.9085, allocations: 63.88 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.9085, allocations: 4 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.9087, allocations: 39.89 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.9087, allocations: 19.98 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.9088, allocations: 31.8 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.909, allocations: 60.78 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.909, allocations: 4 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.909, allocations: 0 / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.909, allocations: 0 / 1.167 GB, free: 2.762 MB / 0.8887 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.0003904/0.9094, allocations: 358 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.9094, allocations: 12.92 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.9095, allocations: 46.72 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.9096, allocations: 12.89 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9097, allocations: 168.3 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.9097, allocations: 4.375 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.9097, allocations: 384 / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.91, allocations: 184.3 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.91, allocations: 0 / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.91, allocations: 8 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.9101, allocations: 19.98 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.9101, allocations: 43.89 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.9112, allocations: 0.9101 MB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.9113, allocations: 165.1 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.9113, allocations: 84.08 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.9114, allocations: 75.28 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.9115, allocations: 121.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.9115, allocations: 0 / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001104/0.9116, allocations: 33.66 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002952/0.9119, allocations: 387.7 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.9122, allocations: 163.1 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.9123, allocations: 29.7 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.9124, allocations: 159.5 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.9124, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.9126, allocations: 57.59 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9127, allocations: 318.8 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.9128, allocations: 27.97 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.913, allocations: 228.5 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.9132, allocations: 205.6 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9132, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003178/0.9135, allocations: 193.1 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.9136, allocations: 8.656 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.9136, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9136, allocations: 15.94 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.9137, allocations: 35.92 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.9138, allocations: 15.92 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.933e-05/0.9139, allocations: 19.89 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.9139, allocations: 12 kB / 1.171 GB, free: 14.21 MB / 0.9044 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.0001269/0.914, allocations: 217 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.9141, allocations: 108.9 kB / 1.171 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.9142, allocations: 123.2 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/0.9142, allocations: 176.3 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-05/0.9143, allocations: 188.2 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/0.9144, allocations: 180.2 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.9146, allocations: 417.2 kB / 1.172 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.9146, allocations: 104.9 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.9147, allocations: 113 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.425e-05/0.9148, allocations: 176.3 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.9148, allocations: 188.1 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.254e-05/0.9149, allocations: 176.3 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-05/0.915, allocations: 180.2 kB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.9151, allocations: 319.7 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.9152, allocations: 186 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.9154, allocations: 184.2 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.9155, allocations: 112.9 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.9156, allocations: 176.3 kB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9157, allocations: 112.9 kB / 1.174 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.9158, allocations: 113 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9158, allocations: 3.938 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004455/0.9163, allocations: 28 kB / 1.175 GB, free: 10.47 MB / 0.9044 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.0005002/0.9168, allocations: 0.8285 MB / 1.175 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.9169, allocations: 75.78 kB / 1.175 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.917, allocations: 5.25 kB / 1.175 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.917, allocations: 3.938 kB / 1.175 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.9174, allocations: 467.7 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.918, allocations: 274.2 kB / 1.176 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.9183, allocations: 0.6929 MB / 1.177 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.9185, allocations: 56.59 kB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.9186, allocations: 23.42 kB / 1.177 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.9186, allocations: 0 / 1.177 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.9407, allocations: 2.946 MB / 1.18 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.551, allocations: 10.3 kB / 1.18 GB, free: 5.145 MB / 0.9044 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