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.001359/0.001359, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001964/0.001964, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 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.209/3.209, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_12_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.002035/0.002035, allocations: 65.47 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001789/0.3204, allocations: 0.614 MB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.3208, allocations: 63.8 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.3208, allocations: 0 / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.3209, allocations: 4 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.3209, allocations: 11.94 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3212, allocations: 43.94 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.3213, allocations: 31.89 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3214, allocations: 4.406 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.3214, allocations: 11.94 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.3216, allocations: 67.92 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3216, allocations: 0 / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3217, allocations: 47.94 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.3218, allocations: 19.92 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.3218, allocations: 23.88 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.322, allocations: 64.02 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.322, allocations: 4 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.322, allocations: 0 / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.322, allocations: 0 / 1.327 GB, free: 496 kB / 1.014 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.0003664/0.3223, allocations: 294.1 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3224, allocations: 8.031 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.3224, allocations: 38.75 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.3225, allocations: 12.83 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/0.3225, allocations: 114.5 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3226, allocations: 384 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3226, allocations: 12.36 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.323, allocations: 433 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.323, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.323, allocations: 11.98 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.323, allocations: 19.98 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.3231, allocations: 43.83 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.3238, allocations: 0.8664 MB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.3239, allocations: 177.1 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.324, allocations: 80.14 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.324, allocations: 75.28 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/0.3241, allocations: 109.8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3241, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.383e-05/0.3242, allocations: 41.62 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.3244, allocations: 387.7 kB / 1.329 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3245, allocations: 172.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3246, allocations: 29.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3247, allocations: 155.5 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.3247, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.3247, allocations: 57.59 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3249, allocations: 326.8 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.3249, allocations: 23.98 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.3253, allocations: 484.1 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3255, allocations: 193.8 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3255, allocations: 3.938 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003208/0.3258, allocations: 193.1 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3258, allocations: 12.59 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3258, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3259, allocations: 15.94 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.326, allocations: 39.92 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.326, allocations: 8 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.3261, allocations: 23.84 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3261, allocations: 12 kB / 1.331 GB, free: 11.5 MB / 1.029 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.0001432/0.3263, allocations: 214.7 kB / 1.331 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.3263, allocations: 112.9 kB / 1.331 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.3264, allocations: 120.8 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/0.3265, allocations: 184.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.3266, allocations: 184.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/0.3267, allocations: 180.3 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3269, allocations: 392.2 kB / 1.332 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/0.327, allocations: 105 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.327, allocations: 101 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.3271, allocations: 184.2 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.3272, allocations: 188.2 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-05/0.3273, allocations: 180.2 kB / 1.333 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.39e-05/0.3273, allocations: 176.3 kB / 1.333 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3275, allocations: 315.7 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.3276, allocations: 112.9 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.3277, allocations: 188.1 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3278, allocations: 109 kB / 1.334 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.3278, allocations: 188.5 kB / 1.334 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.3279, allocations: 105 kB / 1.334 GB, free: 8.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.604e-05/0.328, allocations: 117.5 kB / 1.334 GB, free: 7.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.328, allocations: 0 / 1.334 GB, free: 7.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003664/0.3284, allocations: 28 kB / 1.335 GB, free: 7.883 MB / 1.029 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.0005374/0.3289, allocations: 0.8359 MB / 1.335 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.329, allocations: 75.97 kB / 1.335 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.329, allocations: 0 / 1.335 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.329, allocations: 96 / 1.335 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3295, allocations: 483.5 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.33, allocations: 270.2 kB / 1.336 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.33, allocations: 77.11 kB / 1.336 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.3303, allocations: 60.52 kB / 1.336 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.3303, allocations: 23.44 kB / 1.336 GB, free: 5.984 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3303, allocations: 0 / 1.336 GB, free: 5.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3611, allocations: 3.664 MB / 1.34 GB, free: 2.516 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.79, allocations: 7.047 kB / 1.34 GB, free: 2.512 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.406424312008312]