Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7346 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 75.09 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2634, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00177/0.2652, allocations: 0.6088 MB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.2655, allocations: 71.84 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.2656, allocations: 0 / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.2656, allocations: 3.938 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.2657, allocations: 8 kB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2659, allocations: 47.88 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.266, allocations: 23.97 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.2661, allocations: 7.984 kB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.2661, allocations: 8 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2663, allocations: 67.88 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2663, allocations: 3.938 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.2664, allocations: 31.97 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.2664, allocations: 27.91 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2665, allocations: 19.88 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2666, allocations: 63.8 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2666, allocations: 4 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2666, allocations: 3.938 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2666, allocations: 0 / 1.054 GB, free: 7.223 MB / 0.8106 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.0003105/0.2669, allocations: 359.8 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.267, allocations: 12.62 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.267, allocations: 42.73 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2671, allocations: 12.84 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.2672, allocations: 164.3 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2672, allocations: 4.375 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.2672, allocations: 4.359 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.2674, allocations: 179.2 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2674, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2674, allocations: 8 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.2675, allocations: 23.92 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.2676, allocations: 39.91 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.2682, allocations: 0.9061 MB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.2683, allocations: 165.1 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.2683, allocations: 80.14 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2683, allocations: 75.28 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.2684, allocations: 117.8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.2684, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.327e-05/0.2685, allocations: 37.55 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.2686, allocations: 395.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2688, allocations: 163.8 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2688, allocations: 25.7 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.2689, allocations: 155 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.2689, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.2689, allocations: 53.61 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.2691, allocations: 326.7 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.2691, allocations: 23.98 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2693, allocations: 224.2 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.2695, allocations: 201.7 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2695, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002734/0.2697, allocations: 189.2 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2698, allocations: 8.656 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.2698, allocations: 4.094 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2698, allocations: 15.88 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2699, allocations: 43.91 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2699, allocations: 8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.27, allocations: 27.69 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2701, allocations: 12 kB / 1.058 GB, free: 2.684 MB / 0.8106 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.0001189/0.2702, allocations: 220.9 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2702, allocations: 112.9 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.2703, allocations: 120.8 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.2704, allocations: 184.2 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/0.2704, allocations: 188.3 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/0.2705, allocations: 176.3 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2707, allocations: 429.1 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.2708, allocations: 101 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.2708, allocations: 108.9 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.2708, allocations: 176.3 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.2709, allocations: 184.1 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.771e-05/0.271, allocations: 180.3 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.513e-05/0.271, allocations: 180.2 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2712, allocations: 316.2 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.2713, allocations: 189.9 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.2713, allocations: 188.2 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.2714, allocations: 105 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.2715, allocations: 184.5 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.2715, allocations: 109 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.2716, allocations: 113.1 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2716, allocations: 0 / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003104/0.2719, allocations: 28 kB / 1.061 GB, free: 14.95 MB / 0.8262 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.0004205/0.2724, allocations: 0.836 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.2725, allocations: 71.78 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2725, allocations: 5.312 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2725, allocations: 0 / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2729, allocations: 476.9 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.2734, allocations: 286.2 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2736, allocations: 0.689 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.2738, allocations: 56.59 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.2738, allocations: 15.44 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2738, allocations: 4 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.2914, allocations: 2.89 MB / 1.066 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.515, allocations: 10.97 kB / 1.066 GB, free: 9.641 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches