Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001757/0.001757, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00161/0.00161, allocations: 219 kB / 23.04 MB, free: 5.074 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_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.002047/0.002047, allocations: 70.11 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3334, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001797/0.3352, allocations: 0.613 MB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.3356, allocations: 67.84 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.3356, allocations: 0 / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.3356, allocations: 3.984 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.3357, allocations: 11.94 kB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.336, allocations: 47.94 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.3361, allocations: 23.92 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.3362, allocations: 416 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.3362, allocations: 11.98 kB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3364, allocations: 79.8 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3364, allocations: 0 / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3366, allocations: 47.94 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.3366, allocations: 15.94 kB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.3367, allocations: 27.84 kB / 1.346 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3368, allocations: 68.02 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3368, allocations: 0 / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3368, allocations: 0 / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3368, allocations: 0 / 1.346 GB, free: 15.44 MB / 1.045 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.0004073/0.3372, allocations: 298.2 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3373, allocations: 12.03 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.3373, allocations: 4.188 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.3373, allocations: 46.67 kB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.3374, allocations: 12.89 kB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.689e-05/0.3375, allocations: 106.5 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3375, allocations: 4.359 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.3375, allocations: 384 / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.3378, allocations: 181.3 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3378, allocations: 4 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3378, allocations: 4 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.3378, allocations: 27.91 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.3379, allocations: 39.91 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.3387, allocations: 0.8741 MB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3388, allocations: 169.1 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.3389, allocations: 80.14 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.3389, allocations: 83.28 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.339, allocations: 113.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.339, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.3391, allocations: 41.59 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/0.3393, allocations: 383.7 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3395, allocations: 165.7 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3395, allocations: 29.7 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3397, allocations: 151.5 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-06/0.3397, allocations: 7.984 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.3397, allocations: 57.59 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3399, allocations: 318.8 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.3399, allocations: 27.97 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3402, allocations: 221 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3404, allocations: 197.7 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3404, allocations: 4 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003829/0.3408, allocations: 189.2 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3408, allocations: 12.59 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3408, allocations: 11.94 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3408, allocations: 8 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.341, allocations: 43.92 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.341, allocations: 4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.3411, allocations: 27.83 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3411, allocations: 8 kB / 1.35 GB, free: 11.08 MB / 1.045 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.0001404/0.3412, allocations: 209 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.3413, allocations: 120.9 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.3414, allocations: 124.5 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/0.3415, allocations: 184.2 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-05/0.3415, allocations: 176.3 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/0.3416, allocations: 188.2 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3419, allocations: 388.2 kB / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/0.342, allocations: 109 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.342, allocations: 112.9 kB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-05/0.3421, allocations: 180.2 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/0.3422, allocations: 180.2 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.073e-05/0.3423, allocations: 180.2 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.948e-05/0.3424, allocations: 180.3 kB / 1.352 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3425, allocations: 319.7 kB / 1.353 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3426, allocations: 109.1 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.3427, allocations: 188.1 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3428, allocations: 109 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.3429, allocations: 196.2 kB / 1.353 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.3429, allocations: 101 kB / 1.353 GB, free: 7.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.536e-05/0.343, allocations: 117.1 kB / 1.353 GB, free: 7.477 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 0 / 1.353 GB, free: 7.477 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003348/0.3433, allocations: 27.94 kB / 1.353 GB, free: 7.449 MB / 1.045 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.0005254/0.3439, allocations: 0.8281 MB / 1.354 GB, free: 6.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.344, allocations: 67.78 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.344, allocations: 5.312 kB / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.344, allocations: 0 / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3444, allocations: 471.7 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.345, allocations: 274.1 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3453, allocations: 0.693 MB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.3455, allocations: 48.61 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.3455, allocations: 23.42 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3455, allocations: 0 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3689, allocations: 3.176 MB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 13.31 kB / 1.359 GB, free: 1.961 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.975311273999978]