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.001824/0.001824, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00218/0.00218, allocations: 212.3 kB / 22.25 MB, free: 4.855 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.773 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.34/3.34, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",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.002794/0.002794, allocations: 64.08 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4069, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001811/0.4087, allocations: 0.6069 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.4091, allocations: 59.86 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.4091, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.4091, allocations: 4 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.4092, allocations: 7.922 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.4095, allocations: 51.94 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.4096, allocations: 31.84 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.4097, allocations: 4.406 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.4097, allocations: 11.98 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.4099, allocations: 71.86 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4099, allocations: 0 / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4101, allocations: 43.95 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.4101, allocations: 15.98 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.4102, allocations: 19.88 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.4103, allocations: 64.02 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4103, allocations: 4 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4103, allocations: 4 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4103, allocations: 3.938 kB / 1.364 GB, free: 13.04 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.0004129/0.4107, allocations: 290.2 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4108, allocations: 8.031 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.4108, allocations: 42.73 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.4109, allocations: 8.891 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.411, allocations: 110.5 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.411, allocations: 384 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.411, allocations: 8.359 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4115, allocations: 438.5 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4115, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4115, allocations: 11.98 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.4116, allocations: 15.98 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.4117, allocations: 43.84 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.4126, allocations: 0.8663 MB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4127, allocations: 177.1 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.4128, allocations: 84.08 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.4128, allocations: 79.27 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.4129, allocations: 109.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4129, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.413, allocations: 33.66 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.4132, allocations: 399.7 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4134, allocations: 173.6 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4134, allocations: 29.7 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4135, allocations: 151.5 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.4135, allocations: 7.984 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.4136, allocations: 53.66 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4138, allocations: 322.8 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.4138, allocations: 27.97 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.4142, allocations: 477.6 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.4144, allocations: 201.8 kB / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4144, allocations: 0 / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003178/0.4147, allocations: 193.1 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4148, allocations: 8 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4148, allocations: 7.984 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4148, allocations: 12.59 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4149, allocations: 39.92 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.4149, allocations: 19.92 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.415, allocations: 23.84 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.415, allocations: 12 kB / 1.369 GB, free: 8.047 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.0001663/0.4152, allocations: 214.1 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.4153, allocations: 105.1 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.4154, allocations: 128.6 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-05/0.4154, allocations: 184.2 kB / 1.369 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-05/0.4155, allocations: 180.2 kB / 1.369 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/0.4156, allocations: 176.3 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4159, allocations: 392.2 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.677e-05/0.4159, allocations: 113 kB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.416, allocations: 101 kB / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.885e-05/0.4161, allocations: 184.2 kB / 1.37 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/0.4162, allocations: 185.3 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.072e-05/0.4163, allocations: 180.2 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.9e-05/0.4163, allocations: 180.2 kB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.4166, allocations: 319.7 kB / 1.371 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.4167, allocations: 108.9 kB / 1.371 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.4168, allocations: 184.1 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4169, allocations: 113 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.417, allocations: 188.6 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.4171, allocations: 104.9 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.4172, allocations: 113.3 kB / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4172, allocations: 0 / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003422/0.4175, allocations: 28 kB / 1.372 GB, free: 4.441 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.0006981/0.4182, allocations: 0.832 MB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4184, allocations: 72.84 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4184, allocations: 4 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.4184, allocations: 0 / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.4188, allocations: 473.6 kB / 1.373 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.4194, allocations: 262.2 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.149e-05/0.4195, allocations: 79.97 kB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.4197, allocations: 60.83 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.4198, allocations: 19.44 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.4198, allocations: 0 / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.4588, allocations: 3.591 MB / 1.377 GB, free: 15.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.98, allocations: 8.344 kB / 1.377 GB, free: 15.16 MB / 1.076 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.89277050923556]