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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.469/2.469, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7693, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001393/0.7707, allocations: 0.6176 MB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.771, allocations: 66.19 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.771, allocations: 4 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.771, allocations: 3.172 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.771, allocations: 9.109 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.7713, allocations: 44.67 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.7713, allocations: 26.84 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.7714, allocations: 2.938 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.7714, allocations: 15.69 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.7716, allocations: 67.34 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.7716, allocations: 5.625 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.7717, allocations: 40.98 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.7717, allocations: 15.53 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.7718, allocations: 22.8 kB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.7719, allocations: 69.14 kB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7719, allocations: 0 / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7719, allocations: 5.188 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7719, allocations: 0 / 1.272 GB, free: 7.199 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.0002419/0.7721, allocations: 365.4 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.7722, allocations: 10.84 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.7722, allocations: 40.67 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.7722, allocations: 9.484 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.166e-05/0.7723, allocations: 170.2 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.7723, allocations: 2.203 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.7723, allocations: 2.375 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.7725, allocations: 181 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7725, allocations: 0.9062 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7725, allocations: 2.531 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.7726, allocations: 28.75 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.7726, allocations: 35.45 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.773, allocations: 0.9095 MB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.7731, allocations: 170.2 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.7731, allocations: 82.19 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.7731, allocations: 79.28 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.7731, allocations: 107.8 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.7731, allocations: 0 / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.374e-05/0.7732, allocations: 44.42 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.7732, allocations: 393 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.7733, allocations: 161.2 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.7734, allocations: 27.77 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.7734, allocations: 158.2 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.7734, allocations: 3.234 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.7735, allocations: 59.05 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.7735, allocations: 317.4 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.7735, allocations: 25.14 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.7736, allocations: 233.9 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.7737, allocations: 199.3 kB / 1.276 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7737, allocations: 5.438 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002468/0.774, allocations: 189.4 kB / 1.276 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.774, allocations: 11.5 kB / 1.276 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.774, allocations: 4.094 kB / 1.276 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.774, allocations: 10.22 kB / 1.276 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.7741, allocations: 41.38 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7741, allocations: 8.844 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.7742, allocations: 27.59 kB / 1.276 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.7742, allocations: 9.812 kB / 1.276 GB, free: 3.363 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 6.799e-05/0.7743, allocations: 214.2 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.7743, allocations: 123.2 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.7744, allocations: 119 kB / 1.277 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.7744, allocations: 182.6 kB / 1.277 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.7744, allocations: 177.2 kB / 1.277 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-05/0.7745, allocations: 178.6 kB / 1.277 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.7747, allocations: 426.9 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/0.7748, allocations: 106 kB / 1.278 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.7748, allocations: 106 kB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/0.7749, allocations: 179 kB / 1.278 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.7749, allocations: 180.2 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.591e-05/0.775, allocations: 189.6 kB / 1.278 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.791e-05/0.7751, allocations: 185.2 kB / 1.279 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.7752, allocations: 304 kB / 1.279 GB, free: 16.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.7753, allocations: 193.6 kB / 1.279 GB, free: 16.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.7754, allocations: 183.5 kB / 1.279 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.7755, allocations: 105.1 kB / 1.279 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.7755, allocations: 186.8 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.7756, allocations: 102 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.987e-05/0.7757, allocations: 115.6 kB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7757, allocations: 0.8125 kB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002854/0.7759, allocations: 29.97 kB / 1.28 GB, free: 15.77 MB / 1.014 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.0004492/0.7764, allocations: 0.8329 MB / 1.281 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.7765, allocations: 69.91 kB / 1.281 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7765, allocations: 4.812 kB / 1.281 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.7765, allocations: 3.781 kB / 1.281 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.7769, allocations: 466.7 kB / 1.281 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.7773, allocations: 289.4 kB / 1.281 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.7776, allocations: 0.6918 MB / 1.282 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.7778, allocations: 54.58 kB / 1.282 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.7778, allocations: 23.31 kB / 1.282 GB, free: 13.49 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7778, allocations: 0 / 1.282 GB, free: 13.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.801, allocations: 2.945 MB / 1.285 GB, free: 13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.798, allocations: 4.641 kB / 1.285 GB, free: 13 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.027314312999806]