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.001759/0.001759, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002035/0.002035, allocations: 211 kB / 20.13 MB, free: 2.969 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.187/3.187, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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.002142/0.002142, allocations: 71.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9916, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001702/0.9933, allocations: 0.6101 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.9936, allocations: 67.88 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.9936, allocations: 1.25 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.9937, allocations: 1.172 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.9937, allocations: 9.719 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.994, allocations: 44.16 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.9941, allocations: 30.39 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.9941, allocations: 1.922 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.9941, allocations: 14.42 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.9943, allocations: 70.08 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.9944, allocations: 1.094 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.9945, allocations: 41.72 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.9945, allocations: 19.47 kB / 1.341 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.9945, allocations: 18.22 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.9947, allocations: 73.61 kB / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9947, allocations: 0.6562 kB / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9947, allocations: 0 / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.9947, allocations: 1.031 kB / 1.341 GB, free: 15.74 MB / 1.061 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.0003859/0.9951, allocations: 361.7 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.9952, allocations: 9.156 kB / 1.342 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.9952, allocations: 2.312 kB / 1.342 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.9952, allocations: 40.78 kB / 1.342 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.9953, allocations: 9.141 kB / 1.342 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.705e-05/0.9953, allocations: 180.1 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.9953, allocations: 5.609 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.9954, allocations: 1.438 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.9956, allocations: 183.8 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9956, allocations: 0 / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9957, allocations: 2.625 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.9957, allocations: 28.02 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.9958, allocations: 40.31 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.9963, allocations: 0.9023 MB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.9964, allocations: 169.1 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.9964, allocations: 81.97 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.9964, allocations: 79.22 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.9964, allocations: 116.8 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.9964, allocations: 0 / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.878e-05/0.9965, allocations: 40.3 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.9966, allocations: 386.6 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.9967, allocations: 167.6 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.9967, allocations: 27.59 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.9968, allocations: 158.4 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.9968, allocations: 2.891 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.9969, allocations: 60.86 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.997, allocations: 319.5 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.997, allocations: 26.62 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.9972, allocations: 219.9 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.9974, allocations: 201.8 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.9974, allocations: 2.781 kB / 1.345 GB, free: 12.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004419/0.9978, allocations: 191.3 kB / 1.345 GB, free: 11.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9978, allocations: 7.062 kB / 1.345 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9979, allocations: 14.38 kB / 1.345 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.9979, allocations: 10.17 kB / 1.345 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.9981, allocations: 41.81 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.9981, allocations: 8.391 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.9982, allocations: 22.58 kB / 1.345 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.9982, allocations: 10.22 kB / 1.345 GB, free: 11.9 MB / 1.061 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.0001136/0.9984, allocations: 214.7 kB / 1.345 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.9984, allocations: 114.9 kB / 1.345 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.9985, allocations: 115.7 kB / 1.346 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/0.9985, allocations: 182.1 kB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.9985, allocations: 186 kB / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.9986, allocations: 177 kB / 1.346 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.9988, allocations: 425.3 kB / 1.346 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.9988, allocations: 101.8 kB / 1.347 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.9988, allocations: 107 kB / 1.347 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.16e-05/0.9989, allocations: 186.1 kB / 1.347 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.9989, allocations: 182.1 kB / 1.347 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.33e-05/0.9989, allocations: 182 kB / 1.347 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-05/0.999, allocations: 180.9 kB / 1.347 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.9991, allocations: 323.4 kB / 1.348 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.9991, allocations: 189.4 kB / 1.348 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.9992, allocations: 191.2 kB / 1.348 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.9993, allocations: 104.2 kB / 1.348 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.9993, allocations: 182.6 kB / 1.348 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.9994, allocations: 107.1 kB / 1.348 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000101/0.9995, allocations: 115.8 kB / 1.349 GB, free: 8.305 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9995, allocations: 0 / 1.349 GB, free: 8.305 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005617/1, allocations: 27.28 kB / 1.349 GB, free: 8.301 MB / 1.061 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.0003651/1, allocations: 0.83 MB / 1.349 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001958/1.001, allocations: 73.05 kB / 1.349 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.001, allocations: 1.375 kB / 1.349 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/1.001, allocations: 1.312 kB / 1.349 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.001, allocations: 469.1 kB / 1.35 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/1.002, allocations: 285.3 kB / 1.35 GB, free: 6.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/1.002, allocations: 0.6929 MB / 1.351 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.002, allocations: 50.97 kB / 1.351 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/1.002, allocations: 23.84 kB / 1.351 GB, free: 6.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/1.002, allocations: 0 / 1.351 GB, free: 6.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/1.027, allocations: 3.002 MB / 1.354 GB, free: 5.527 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.601, allocations: 7.656 kB / 1.354 GB, free: 5.523 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.534541308006737]