Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001399/0.001399, allocations: 116.8 kB / 17.17 MB, free: 6 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.001545/0.001545, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.024/3.024, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_12_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.001996/0.001996, allocations: 67.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.9734, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00153/0.9749, allocations: 0.5994 MB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.9752, allocations: 69.83 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.9753, allocations: 0 / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.9753, allocations: 3.141 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.9753, allocations: 10.88 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.9756, allocations: 43.52 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.9757, allocations: 27.77 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.9757, allocations: 7.031 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.9757, allocations: 7.656 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.9759, allocations: 67.67 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.9759, allocations: 2.062 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.976, allocations: 41.89 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.9761, allocations: 23.31 kB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.9761, allocations: 17.59 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.9762, allocations: 71.41 kB / 1.322 GB, free: 24.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9762, allocations: 0 / 1.322 GB, free: 24.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9762, allocations: 0 / 1.322 GB, free: 24.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9763, allocations: 3.062 kB / 1.322 GB, free: 24.24 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.0003342/0.9766, allocations: 362.4 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9766, allocations: 16.7 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.9766, allocations: 3.125 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.9767, allocations: 47.97 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.9767, allocations: 11.02 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.9768, allocations: 166.9 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.9768, allocations: 3.312 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.9768, allocations: 4.359 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.977, allocations: 183 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.977, allocations: 4 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.977, allocations: 1.969 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.9771, allocations: 23.11 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.9771, allocations: 37.66 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.9776, allocations: 0.9086 MB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.9776, allocations: 175.6 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.9776, allocations: 80.14 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.9777, allocations: 79.28 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.9777, allocations: 108.3 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.9777, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.355e-05/0.9778, allocations: 43.34 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.9778, allocations: 389.8 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.978, allocations: 159.6 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.978, allocations: 25.7 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.978, allocations: 162.8 kB / 1.325 GB, free: 21.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.978, allocations: 2.875 kB / 1.325 GB, free: 21.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.9781, allocations: 56.3 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.9781, allocations: 321.2 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.9782, allocations: 25.2 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.9783, allocations: 227.9 kB / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.9784, allocations: 198.1 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9784, allocations: 2.188 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002604/0.9787, allocations: 191.7 kB / 1.326 GB, free: 20.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9787, allocations: 10.38 kB / 1.326 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9787, allocations: 13.66 kB / 1.326 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9788, allocations: 5.688 kB / 1.326 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.9789, allocations: 36.09 kB / 1.326 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9789, allocations: 9.438 kB / 1.326 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.979, allocations: 27.59 kB / 1.326 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.979, allocations: 13 kB / 1.326 GB, free: 20.39 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 9.042e-05/0.9791, allocations: 213.1 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.9791, allocations: 118.4 kB / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.9792, allocations: 118.9 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.9792, allocations: 183 kB / 1.327 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/0.9793, allocations: 176.3 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.9793, allocations: 176.3 kB / 1.327 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.9794, allocations: 423 kB / 1.328 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.9794, allocations: 107.6 kB / 1.328 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.9795, allocations: 108.2 kB / 1.328 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/0.9795, allocations: 181.8 kB / 1.328 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.9795, allocations: 191 kB / 1.328 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.722e-05/0.9795, allocations: 184.1 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/0.9796, allocations: 180.3 kB / 1.329 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.125e-05/0.9797, allocations: 315.3 kB / 1.329 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.9797, allocations: 188.8 kB / 1.329 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.9798, allocations: 186 kB / 1.329 GB, free: 17.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.9798, allocations: 106.5 kB / 1.329 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.9799, allocations: 188.2 kB / 1.33 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.9799, allocations: 101 kB / 1.33 GB, free: 16.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.9799, allocations: 117.1 kB / 1.33 GB, free: 16.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9799, allocations: 0 / 1.33 GB, free: 16.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003203/0.9802, allocations: 26.66 kB / 1.33 GB, free: 16.8 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.000478/0.9807, allocations: 0.8378 MB / 1.331 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.9809, allocations: 72.12 kB / 1.331 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9809, allocations: 0 / 1.331 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.9809, allocations: 2.5 kB / 1.331 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.9813, allocations: 467.7 kB / 1.331 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.9819, allocations: 290.6 kB / 1.331 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.9821, allocations: 0.6932 MB / 1.332 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.9824, allocations: 55.09 kB / 1.332 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.9824, allocations: 27.59 kB / 1.332 GB, free: 14.52 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.9824, allocations: 0 / 1.332 GB, free: 14.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/1.003, allocations: 2.982 MB / 1.335 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.714, allocations: 8.781 kB / 1.335 GB, free: 14.01 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.46560638601659]