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.001838/0.001838, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.00211/0.00211, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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.777/2.777, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 1.107 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9297/0.9317, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001834/0.9336, allocations: 0.6208 MB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.9339, allocations: 73.92 kB / 1.273 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.9339, allocations: 0.9375 kB / 1.273 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.934, allocations: 6.312 kB / 1.273 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.934, allocations: 9.031 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.9344, allocations: 39.64 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.9344, allocations: 26.11 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.9345, allocations: 3.672 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.9345, allocations: 17.14 kB / 1.273 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.9348, allocations: 70.86 kB / 1.273 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.9348, allocations: 1.656 kB / 1.273 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.9349, allocations: 41.38 kB / 1.273 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.9349, allocations: 19.19 kB / 1.273 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.935, allocations: 22.48 kB / 1.273 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.9351, allocations: 67.56 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9351, allocations: 0.7969 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9351, allocations: 0.7188 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9351, allocations: 0 / 1.273 GB, free: 7.363 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.0003452/0.9355, allocations: 368.9 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9355, allocations: 9.219 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.9356, allocations: 8.391 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.026e-05/0.9356, allocations: 167.4 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9357, allocations: 2.188 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.9357, allocations: 2.031 kB / 1.274 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.9359, allocations: 186.7 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.936, allocations: 1.094 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.936, allocations: 2.062 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.936, allocations: 23.78 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.9361, allocations: 41.78 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.9366, allocations: 0.8995 MB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.9367, allocations: 167.1 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.9367, allocations: 81.3 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.9368, allocations: 79.28 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9368, allocations: 114.8 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9368, allocations: 0 / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.92e-05/0.9369, allocations: 43.41 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.937, allocations: 386.1 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.9371, allocations: 167.7 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.9371, allocations: 31.33 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.9372, allocations: 153.9 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-06/0.9372, allocations: 8.656 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.9372, allocations: 50.38 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.9373, allocations: 324.4 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.9373, allocations: 30.25 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.9375, allocations: 225.5 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.9376, allocations: 193.8 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9376, allocations: 10 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003161/0.9379, allocations: 187.9 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.938, allocations: 12.75 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.938, allocations: 9.312 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.938, allocations: 10.31 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.9381, allocations: 44.64 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.9382, allocations: 6 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.9383, allocations: 30.62 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.9383, allocations: 10.69 kB / 1.277 GB, free: 3.57 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 8.701e-05/0.9384, allocations: 211.4 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.9384, allocations: 124.5 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.9384, allocations: 109.2 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/0.9385, allocations: 184.1 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/0.9385, allocations: 181.8 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.9385, allocations: 180.9 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.9387, allocations: 422.4 kB / 1.278 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.364e-05/0.9388, allocations: 105.9 kB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.9388, allocations: 109.8 kB / 1.278 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.172e-05/0.9389, allocations: 178.7 kB / 1.279 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/0.939, allocations: 183.5 kB / 1.279 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.004e-05/0.9391, allocations: 185 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-05/0.9391, allocations: 181 kB / 1.279 GB, free: 17.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.9393, allocations: 314.4 kB / 1.279 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.9394, allocations: 188.3 kB / 1.28 GB, free: 16.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9395, allocations: 182.1 kB / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9396, allocations: 112.1 kB / 1.28 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.9397, allocations: 185.1 kB / 1.28 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.9398, allocations: 104 kB / 1.28 GB, free: 16.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.9399, allocations: 115.8 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9399, allocations: 0.9062 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003846/0.9402, allocations: 26.34 kB / 1.28 GB, free: 15.98 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.0002662/0.9405, allocations: 181.7 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.9407, allocations: 83.53 kB / 1.281 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9407, allocations: 1.438 kB / 1.281 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.9407, allocations: 3.938 kB / 1.281 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.9412, allocations: 470.2 kB / 1.281 GB, free: 15.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.9416, allocations: 247.5 kB / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.942, allocations: 0.6902 MB / 1.282 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.9422, allocations: 51.33 kB / 1.282 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.9422, allocations: 14.53 kB / 1.282 GB, free: 14.41 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/0.9422, allocations: 0 / 1.282 GB, free: 14.41 MB / 1.014 GB Notification: Performance of Templates: time 0.004857/0.9471, allocations: 1.726 MB / 1.284 GB, free: 14.24 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.902777922339737]