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.001518/0.001518, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.001854/0.001854, allocations: 196.5 kB / 19.41 MB, free: 3.664 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.837/2.837, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 176] 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.002029/0.002029, allocations: 71.89 kB / 1.104 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8612, allocations: 168.7 MB / 1.269 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002016/0.8632, allocations: 0.6062 MB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.8635, allocations: 73.67 kB / 1.269 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.8636, allocations: 0 / 1.269 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.8636, allocations: 3.938 kB / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.135e-05/0.8636, allocations: 7.938 kB / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.864, allocations: 43.94 kB / 1.27 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.8641, allocations: 23.92 kB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.8641, allocations: 11.98 kB / 1.27 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.8641, allocations: 11.98 kB / 1.27 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.8643, allocations: 63.88 kB / 1.27 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.8643, allocations: 4 kB / 1.27 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.8645, allocations: 39.95 kB / 1.27 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.8645, allocations: 19.91 kB / 1.27 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.8645, allocations: 19.88 kB / 1.27 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.8647, allocations: 69.56 kB / 1.27 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8647, allocations: 0 / 1.27 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8647, allocations: 0 / 1.27 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8647, allocations: 0 / 1.27 GB, free: 4.125 MB / 0.9669 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.0004556/0.8652, allocations: 371.3 kB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.8653, allocations: 8.031 kB / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.8653, allocations: 42.73 kB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.8653, allocations: 8.891 kB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.8655, allocations: 172.3 kB / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.8655, allocations: 4.375 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.8655, allocations: 384 / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.8658, allocations: 183.2 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8658, allocations: 0 / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.8658, allocations: 4 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.8659, allocations: 23.98 kB / 1.271 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.866, allocations: 39.84 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.8668, allocations: 0.9063 MB / 1.271 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8669, allocations: 177.1 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.867, allocations: 80.14 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.867, allocations: 75.28 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/0.8671, allocations: 109.8 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8671, allocations: 0 / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001095/0.8672, allocations: 37.59 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003128/0.8675, allocations: 399.7 kB / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.8677, allocations: 160.4 kB / 1.272 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.8678, allocations: 25.7 kB / 1.272 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.8679, allocations: 163.4 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.8679, allocations: 0 / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.868, allocations: 57.66 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8681, allocations: 322.8 kB / 1.273 GB, free: 488 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.8682, allocations: 27.92 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.8684, allocations: 233 kB / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.8687, allocations: 197.8 kB / 1.273 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8687, allocations: 0 / 1.273 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000351/0.869, allocations: 193.6 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.869, allocations: 10.34 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.869, allocations: 4 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.8691, allocations: 11.94 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.8692, allocations: 35.92 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8692, allocations: 15.92 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8693, allocations: 23.84 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.8693, allocations: 12 kB / 1.274 GB, free: 15.57 MB / 0.9825 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.0001791/0.8695, allocations: 221.7 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.8696, allocations: 108.9 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.8697, allocations: 120.8 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.874e-05/0.8698, allocations: 180.2 kB / 1.274 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.351e-05/0.8699, allocations: 184.2 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.977e-05/0.8699, allocations: 180.3 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.8703, allocations: 421.2 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-05/0.8703, allocations: 105 kB / 1.275 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.8704, allocations: 101 kB / 1.275 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.481e-05/0.8705, allocations: 185.8 kB / 1.275 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.8705, allocations: 188.2 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.547e-05/0.8706, allocations: 188.2 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-05/0.8707, allocations: 180.2 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.8709, allocations: 307.7 kB / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.871, allocations: 190 kB / 1.276 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.8712, allocations: 192.1 kB / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8713, allocations: 105 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.8714, allocations: 180.2 kB / 1.277 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.8714, allocations: 105 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.293e-05/0.8715, allocations: 111.2 kB / 1.277 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8715, allocations: 3.938 kB / 1.277 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000364/0.8719, allocations: 32 kB / 1.277 GB, free: 11.83 MB / 0.9825 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.000627/0.8725, allocations: 0.832 MB / 1.278 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.8727, allocations: 73.31 kB / 1.278 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8727, allocations: 0 / 1.278 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.8727, allocations: 0 / 1.278 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.8731, allocations: 470.2 kB / 1.278 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.8738, allocations: 290.1 kB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.8742, allocations: 0.689 MB / 1.279 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000222/0.8744, allocations: 52.72 kB / 1.279 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.8744, allocations: 27.44 kB / 1.28 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.8744, allocations: 0 / 1.28 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.9042, allocations: 2.968 MB / 1.282 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/9.117, allocations: 3.984 kB / 1.282 GB, free: 6.473 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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_2/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: 15.226737278979272]