Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001659/0.001659, allocations: 108.6 kB / 16.45 MB, free: 6.035 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.00189/0.00189, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8921, allocations: 160.7 MB / 1.213 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001893/0.894, allocations: 0.6207 MB / 1.214 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.8944, allocations: 73.67 kB / 1.214 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.8944, allocations: 0 / 1.214 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.8944, allocations: 0 / 1.214 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.8945, allocations: 7.984 kB / 1.214 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.8948, allocations: 39.89 kB / 1.214 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.8949, allocations: 31.91 kB / 1.214 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.8949, allocations: 4 kB / 1.214 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.8949, allocations: 8 kB / 1.214 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.8951, allocations: 71.84 kB / 1.214 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.8952, allocations: 7.938 kB / 1.214 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.8953, allocations: 39.91 kB / 1.214 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.8953, allocations: 15.98 kB / 1.214 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.8953, allocations: 27.8 kB / 1.214 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.8955, allocations: 69.55 kB / 1.214 GB, free: 4.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8955, allocations: 0 / 1.214 GB, free: 4.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8955, allocations: 4 kB / 1.214 GB, free: 4.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.8955, allocations: 4 kB / 1.214 GB, free: 4.336 MB / 0.92 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.0003908/0.8959, allocations: 359.3 kB / 1.214 GB, free: 3.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8959, allocations: 12.62 kB / 1.214 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.896, allocations: 42.73 kB / 1.214 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.896, allocations: 8.891 kB / 1.214 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.8961, allocations: 172.2 kB / 1.215 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8961, allocations: 4.375 kB / 1.215 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.8961, allocations: 384 / 1.215 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8964, allocations: 179.3 kB / 1.215 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.8964, allocations: 3.938 kB / 1.215 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.8964, allocations: 4 kB / 1.215 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.8965, allocations: 19.97 kB / 1.215 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.8965, allocations: 43.89 kB / 1.215 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.8973, allocations: 0.9062 MB / 1.216 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.8974, allocations: 173.1 kB / 1.216 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.8974, allocations: 80.14 kB / 1.216 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.8975, allocations: 79.22 kB / 1.216 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.8975, allocations: 109.8 kB / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.8976, allocations: 0 / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.449e-05/0.8976, allocations: 37.64 kB / 1.216 GB, free: 1.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/0.8978, allocations: 395.7 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.898, allocations: 164 kB / 1.217 GB, free: 1.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.898, allocations: 25.7 kB / 1.217 GB, free: 1.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.8981, allocations: 155.5 kB / 1.217 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.8981, allocations: 0 / 1.217 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.8982, allocations: 57.66 kB / 1.217 GB, free: 1.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8983, allocations: 322.8 kB / 1.217 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.8984, allocations: 31.92 kB / 1.217 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.8986, allocations: 226.6 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.8988, allocations: 209.6 kB / 1.218 GB, free: 88 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8988, allocations: 0 / 1.218 GB, free: 88 kB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003326/0.8991, allocations: 193.4 kB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8992, allocations: 8 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8992, allocations: 4.094 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8992, allocations: 11.88 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8993, allocations: 39.92 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.8993, allocations: 11.94 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.8994, allocations: 19.89 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.8994, allocations: 16.38 kB / 1.218 GB, free: 15.78 MB / 0.9356 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.0001481/0.8996, allocations: 213 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.8997, allocations: 112.9 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.8998, allocations: 124.7 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-05/0.8998, allocations: 176.3 kB / 1.219 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.8999, allocations: 176.3 kB / 1.219 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-05/0.9, allocations: 188.2 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.9003, allocations: 417.2 kB / 1.219 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/0.9003, allocations: 108.9 kB / 1.219 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.9004, allocations: 101 kB / 1.219 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.143e-05/0.9005, allocations: 180.3 kB / 1.22 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/0.9006, allocations: 196.1 kB / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.449e-05/0.9006, allocations: 180.3 kB / 1.22 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-05/0.9007, allocations: 180.2 kB / 1.22 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.9009, allocations: 307.8 kB / 1.22 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.901, allocations: 194 kB / 1.221 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.9011, allocations: 184.2 kB / 1.221 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.9012, allocations: 108.9 kB / 1.221 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.9013, allocations: 180.3 kB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.9013, allocations: 108.9 kB / 1.221 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.236e-05/0.9014, allocations: 116.5 kB / 1.221 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9014, allocations: 0 / 1.221 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003178/0.9017, allocations: 28 kB / 1.221 GB, free: 12.05 MB / 0.9356 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.0005458/0.9023, allocations: 0.8282 MB / 1.222 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.9025, allocations: 72.88 kB / 1.222 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9025, allocations: 0 / 1.222 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.9025, allocations: 7.875 kB / 1.222 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.9029, allocations: 466.5 kB / 1.223 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.9034, allocations: 278.8 kB / 1.223 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.9037, allocations: 0.6929 MB / 1.224 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.9039, allocations: 60.58 kB / 1.224 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.904, allocations: 23.44 kB / 1.224 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.904, allocations: 0 / 1.224 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.9297, allocations: 2.962 MB / 1.227 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/9.06, allocations: 5 kB / 1.227 GB, free: 6.711 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.905538621824235]