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.00931/0.00931, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001504/0.001505, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3603, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002032/0.3623, allocations: 0.603 MB / 1.208 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.3628, allocations: 75.78 kB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.3628, allocations: 0 / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.3628, allocations: 0 / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.3629, allocations: 11.92 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3633, allocations: 43.95 kB / 1.208 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.3634, allocations: 31.89 kB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.3634, allocations: 0 / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.3635, allocations: 8 kB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3637, allocations: 71.86 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3637, allocations: 0 / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3638, allocations: 35.97 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.3639, allocations: 19.98 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.3639, allocations: 15.81 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3641, allocations: 75.77 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3641, allocations: 0 / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3641, allocations: 4 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3641, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 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.0004016/0.3645, allocations: 363.7 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3646, allocations: 12.61 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.3646, allocations: 38.75 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3647, allocations: 8.844 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3648, allocations: 172.3 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3648, allocations: 4.359 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3648, allocations: 4.375 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3651, allocations: 185 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3651, allocations: 4 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3651, allocations: 4 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.3652, allocations: 19.98 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.3653, allocations: 43.83 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.3659, allocations: 0.8946 MB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.366, allocations: 177.1 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.3661, allocations: 84.14 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3661, allocations: 75.28 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.3662, allocations: 105.8 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3662, allocations: 0 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.047e-05/0.3663, allocations: 45.59 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.3664, allocations: 391.7 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3666, allocations: 168.1 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3667, allocations: 25.7 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.3668, allocations: 151.1 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.3668, allocations: 4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.3669, allocations: 53.61 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.367, allocations: 326.8 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.367, allocations: 27.98 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3672, allocations: 218.5 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3675, allocations: 201.8 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3675, allocations: 7.938 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003325/0.3678, allocations: 189.3 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3679, allocations: 7.984 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3679, allocations: 8 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3679, allocations: 7.938 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.368, allocations: 39.92 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3681, allocations: 7.938 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3682, allocations: 32.19 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3682, allocations: 16 kB / 1.212 GB, free: 4.547 MB / 0.9669 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.0001474/0.3683, allocations: 213 kB / 1.212 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.3685, allocations: 109 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3685, allocations: 124.7 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-05/0.3686, allocations: 176.3 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.947e-05/0.3687, allocations: 184.2 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-05/0.3687, allocations: 176.3 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.369, allocations: 425.1 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.369, allocations: 105 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.369, allocations: 105 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.3691, allocations: 180.3 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.3692, allocations: 192.6 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.751e-05/0.3693, allocations: 184.2 kB / 1.214 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.335e-05/0.3693, allocations: 180.3 kB / 1.214 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3695, allocations: 311.9 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.3696, allocations: 194 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/0.3697, allocations: 188.1 kB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3698, allocations: 109 kB / 1.215 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.3699, allocations: 180.3 kB / 1.215 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.3699, allocations: 104.9 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.37, allocations: 121.7 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.37, allocations: 0 / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003676/0.3704, allocations: 28 kB / 1.216 GB, free: 0.8125 MB / 0.9669 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.0005131/0.3709, allocations: 0.8296 MB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3711, allocations: 80.14 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3711, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-06/0.3711, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3715, allocations: 472.4 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.372, allocations: 278.4 kB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3723, allocations: 0.689 MB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.3725, allocations: 60.58 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3726, allocations: 23.44 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3726, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3951, allocations: 2.949 MB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.931, allocations: 16.14 kB / 1.221 GB, free: 11.47 MB / 0.9825 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