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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.961/2.961, allocations: 476.7 MB / 0.7678 GB, free: 9.492 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 73.78 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002313/1.118, allocations: 0.6099 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/1.119, allocations: 68.47 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/1.119, allocations: 0.9375 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/1.119, allocations: 1.312 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/1.119, allocations: 9.391 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/1.119, allocations: 45.08 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/1.119, allocations: 29.27 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/1.119, allocations: 2.609 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/1.12, allocations: 9.172 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/1.12, allocations: 74.66 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/1.12, allocations: 1.125 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/1.12, allocations: 42.2 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/1.12, allocations: 14.14 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/1.12, allocations: 24.11 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/1.12, allocations: 68.12 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.12, allocations: 1.938 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.12, allocations: 4 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.12, allocations: 0 / 1.28 GB, free: 11.21 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.0004668/1.121, allocations: 361.9 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.121, allocations: 10.19 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.394e-05/1.121, allocations: 1.312 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/1.121, allocations: 48.78 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/1.121, allocations: 10.03 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.121, allocations: 169.9 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.121, allocations: 2.688 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/1.121, allocations: 6.031 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/1.121, allocations: 178.5 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.121, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.121, allocations: 6.25 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/1.121, allocations: 28.95 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/1.121, allocations: 41.02 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009483/1.122, allocations: 0.9053 MB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/1.123, allocations: 170.3 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/1.123, allocations: 80.75 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/1.123, allocations: 75.28 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.123, allocations: 108.8 kB / 1.282 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.123, allocations: 4 kB / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001022/1.123, allocations: 40.81 kB / 1.282 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002446/1.123, allocations: 394.4 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/1.123, allocations: 167.7 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/1.123, allocations: 27.86 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.123, allocations: 154 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/1.123, allocations: 2.953 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.124, allocations: 60 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.124, allocations: 324.2 kB / 1.283 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/1.124, allocations: 26.11 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/1.124, allocations: 220.5 kB / 1.283 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/1.124, allocations: 198.5 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.124, allocations: 1.594 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005035/1.125, allocations: 196.2 kB / 1.284 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.125, allocations: 11.16 kB / 1.284 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.125, allocations: 9.328 kB / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.125, allocations: 6.062 kB / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.125, allocations: 38.92 kB / 1.284 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/1.125, allocations: 7.266 kB / 1.284 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/1.125, allocations: 30.88 kB / 1.284 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/1.125, allocations: 13.97 kB / 1.284 GB, free: 7.367 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.0001869/1.125, allocations: 212.6 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/1.126, allocations: 114.8 kB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/1.126, allocations: 119.6 kB / 1.284 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.291e-05/1.126, allocations: 176.9 kB / 1.285 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.695e-05/1.126, allocations: 186.4 kB / 1.285 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.114e-05/1.126, allocations: 178 kB / 1.285 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/1.126, allocations: 422.8 kB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.247e-05/1.126, allocations: 101.5 kB / 1.285 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/1.126, allocations: 106.7 kB / 1.285 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.847e-05/1.126, allocations: 185.8 kB / 1.286 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/1.127, allocations: 186 kB / 1.286 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.361e-05/1.127, allocations: 182.2 kB / 1.286 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.575e-05/1.127, allocations: 178.1 kB / 1.286 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/1.127, allocations: 318.9 kB / 1.286 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.127, allocations: 186.3 kB / 1.287 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.127, allocations: 188 kB / 1.287 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.127, allocations: 104.5 kB / 1.287 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.127, allocations: 189.9 kB / 1.287 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/1.127, allocations: 105.5 kB / 1.287 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001106/1.128, allocations: 120.7 kB / 1.287 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.128, allocations: 1.062 kB / 1.287 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003979/1.128, allocations: 27.58 kB / 1.287 GB, free: 3.77 MB / 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.0005923/1.129, allocations: 0.8257 MB / 1.288 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001896/1.129, allocations: 74.09 kB / 1.288 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.129, allocations: 0 / 1.288 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.129, allocations: 1.188 kB / 1.288 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/1.129, allocations: 468.6 kB / 1.289 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/1.13, allocations: 282.5 kB / 1.289 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/1.13, allocations: 0.7036 MB / 1.29 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002392/1.13, allocations: 51.7 kB / 1.29 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/1.13, allocations: 23.56 kB / 1.29 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.13, allocations: 0 / 1.29 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/1.152, allocations: 3.001 MB / 1.293 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.668, allocations: 10.67 kB / 1.293 GB, free: 0.9727 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.28773728699889]