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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009242/0.0009244, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005499/0.005499, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.524/2.524, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 9.844 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005687/0.2524, allocations: 350.7 kB / 1.059 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.2527, allocations: 79.84 kB / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.2527, allocations: 0 / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.2527, allocations: 0 / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.2528, allocations: 4 kB / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.253, allocations: 35.89 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.253, allocations: 35.95 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.2531, allocations: 0 / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.2531, allocations: 11.98 kB / 1.059 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.2533, allocations: 71.88 kB / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2533, allocations: 0 / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.2534, allocations: 35.95 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.2534, allocations: 23.97 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2535, allocations: 49.45 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2536, allocations: 67.73 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2536, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2536, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.2536, allocations: 4 kB / 1.06 GB, free: 4.066 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.000235/0.2538, allocations: 343.8 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2539, allocations: 15.97 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2539, allocations: 42.73 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2539, allocations: 12.83 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.254, allocations: 164.3 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.254, allocations: 4.375 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.254, allocations: 384 / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2542, allocations: 187.2 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.2543, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2543, allocations: 4 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.2543, allocations: 19.92 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.2544, allocations: 39.91 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.2549, allocations: 0.9023 MB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.255, allocations: 177.1 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.255, allocations: 80.14 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2551, allocations: 79.27 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2551, allocations: 117.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2551, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.314e-05/0.2552, allocations: 33.61 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.2553, allocations: 391.7 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2554, allocations: 164.4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2554, allocations: 25.7 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.2555, allocations: 155 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.2555, allocations: 7.984 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.2556, allocations: 17.72 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.2556, allocations: 326.8 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.2557, allocations: 23.98 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2558, allocations: 228.5 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.256, allocations: 197.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.256, allocations: 7.984 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002645/0.2563, allocations: 189.5 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2563, allocations: 5.875 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2563, allocations: 8 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2563, allocations: 11.92 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2565, allocations: 39.92 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2565, allocations: 8.078 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.2566, allocations: 31.72 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2566, allocations: 12 kB / 1.063 GB, free: 15.57 MB / 0.8262 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.0001017/0.2567, allocations: 221.2 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2568, allocations: 112.9 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.2568, allocations: 116.8 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/0.2569, allocations: 184.1 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-05/0.2569, allocations: 176.3 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.257, allocations: 188.2 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2571, allocations: 421.2 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.2572, allocations: 101 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.2572, allocations: 112.9 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.353e-05/0.2573, allocations: 176.3 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.2573, allocations: 184.2 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.423e-05/0.2574, allocations: 184.2 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-05/0.2574, allocations: 184.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.2575, allocations: 311.7 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.2576, allocations: 185.9 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2577, allocations: 188.2 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.2577, allocations: 109.2 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.2578, allocations: 184.2 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2578, allocations: 101 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.2579, allocations: 115.2 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2579, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002821/0.2582, allocations: 24 kB / 1.067 GB, free: 11.84 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.0003543/0.2586, allocations: 0.8398 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2587, allocations: 76.72 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2587, allocations: 3.938 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2587, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.259, allocations: 0.5378 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.2595, allocations: 296.6 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2597, allocations: 0.6893 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00017/0.2598, allocations: 56.58 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2599, allocations: 23.44 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2599, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.215/1.475, allocations: 2.819 MB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/1.475, allocations: 208.2 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/3.391, allocations: 6.625 kB / 1.072 GB, free: 6.312 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