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.00189/0.00189, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002537/0.002537, allocations: 214.4 kB / 23.04 MB, free: 5.078 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.803/2.803, allocations: 476.7 MB / 0.7714 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 177] 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.002107/0.002107, allocations: 61.55 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3429, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001993/0.3449, allocations: 0.6091 MB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.3453, allocations: 75.78 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.3453, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.3453, allocations: 3.938 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.3454, allocations: 11.98 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3457, allocations: 43.94 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.3458, allocations: 27.92 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.3459, allocations: 3.984 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.3459, allocations: 19.92 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3461, allocations: 63.94 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3461, allocations: 0 / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3463, allocations: 47.94 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.3463, allocations: 27.92 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3464, allocations: 11.88 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3465, allocations: 71.31 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3465, allocations: 3.984 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3465, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.3465, allocations: 3.938 kB / 1.285 GB, free: 10.73 MB / 0.9825 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.0004517/0.347, allocations: 286.2 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.347, allocations: 8.031 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.3471, allocations: 4.188 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.3471, allocations: 46.73 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.3473, allocations: 8.891 kB / 1.286 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.3474, allocations: 102.5 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3474, allocations: 4.375 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3474, allocations: 384 / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.3477, allocations: 185.6 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3477, allocations: 4 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3477, allocations: 7.938 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.3478, allocations: 27.92 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.3478, allocations: 35.91 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.3488, allocations: 0.8741 MB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3489, allocations: 169.3 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.349, allocations: 80.14 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.349, allocations: 79.28 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/0.3491, allocations: 117.8 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3491, allocations: 3.938 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.857e-05/0.3492, allocations: 33.66 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.3495, allocations: 387.7 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3496, allocations: 165.7 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.3496, allocations: 33.7 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3498, allocations: 155.5 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.3498, allocations: 0 / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.3499, allocations: 61.58 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.35, allocations: 318.8 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.3501, allocations: 27.97 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3503, allocations: 221.2 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.3505, allocations: 201.7 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3505, allocations: 0 / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003461/0.3509, allocations: 193.8 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3509, allocations: 8 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3509, allocations: 11.97 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3509, allocations: 8 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3511, allocations: 35.92 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3511, allocations: 8 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.3512, allocations: 31.78 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3512, allocations: 8 kB / 1.289 GB, free: 6.383 MB / 0.9825 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.0001843/0.3514, allocations: 217 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.3515, allocations: 108.9 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.3516, allocations: 120.7 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.3517, allocations: 184.2 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.35e-05/0.3518, allocations: 184.3 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/0.3519, allocations: 184.2 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.3522, allocations: 392.3 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.428e-05/0.3523, allocations: 110.7 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.3523, allocations: 104.9 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.3524, allocations: 180.3 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.3525, allocations: 188.1 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001229/0.3526, allocations: 176.3 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.466e-05/0.3527, allocations: 176.3 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.353, allocations: 315.7 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.353, allocations: 116.9 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3532, allocations: 188.2 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3533, allocations: 109 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3534, allocations: 184.2 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.3534, allocations: 101 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.461e-05/0.3535, allocations: 119.2 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3535, allocations: 0 / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003979/0.3539, allocations: 27.94 kB / 1.292 GB, free: 2.773 MB / 0.9825 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.0006755/0.3546, allocations: 0.8402 MB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3548, allocations: 69.06 kB / 1.293 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3548, allocations: 7.938 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3548, allocations: 0 / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3552, allocations: 473.6 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3558, allocations: 278.2 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3562, allocations: 0.6891 MB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.3564, allocations: 56.59 kB / 1.295 GB, free: 292 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3564, allocations: 23.44 kB / 1.295 GB, free: 268 kB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3564, allocations: 0 / 1.295 GB, free: 268 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.382, allocations: 3.173 MB / 1.298 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 4.562 kB / 1.298 GB, free: 13.26 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.704677384987008]