Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_10_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.004217/0.004217, allocations: 99.58 kB / 15.73 MB, free: 6.016 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.00113/0.00113, allocations: 193 kB / 16.67 MB, free: 5.934 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.266/2.266, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 75.89 kB / 1.018 GB, free: 9.793 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6331, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001407/0.6346, allocations: 0.6039 MB / 1.167 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.6348, allocations: 69.75 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.6349, allocations: 4 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.6349, allocations: 4 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.6349, allocations: 4 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.6352, allocations: 43.88 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.6353, allocations: 23.92 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.6353, allocations: 7.984 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.6354, allocations: 15.98 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.6355, allocations: 63.88 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.6356, allocations: 0 / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.6357, allocations: 43.91 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.6357, allocations: 19.97 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.6357, allocations: 27.81 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.6359, allocations: 52.84 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6359, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6359, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6359, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 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.000339/0.6362, allocations: 370 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.6363, allocations: 16.86 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.6363, allocations: 42.73 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.6363, allocations: 12.89 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.6365, allocations: 168.3 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.6365, allocations: 384 / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.6365, allocations: 4.375 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.6367, allocations: 184.9 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.6367, allocations: 0 / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6367, allocations: 4 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.6368, allocations: 19.98 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.6369, allocations: 35.91 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.6375, allocations: 0.9179 MB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.6376, allocations: 169.1 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.6376, allocations: 84.08 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6377, allocations: 75.28 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.6377, allocations: 113.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6377, allocations: 0 / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/0.6378, allocations: 37.66 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.638, allocations: 391.7 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.6381, allocations: 159.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.6381, allocations: 25.7 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.6382, allocations: 155.5 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.6382, allocations: 8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.6383, allocations: 61.59 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6384, allocations: 322.8 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.6385, allocations: 23.98 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.6387, allocations: 223.4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.6389, allocations: 197.7 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6389, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002731/0.6391, allocations: 193.1 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6392, allocations: 8.656 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6392, allocations: 4 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6392, allocations: 11.94 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.6393, allocations: 43.92 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.6393, allocations: 11.92 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.6394, allocations: 19.89 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.6394, allocations: 19.94 kB / 1.171 GB, free: 14.21 MB / 0.9044 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.0001178/0.6395, allocations: 209 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.6396, allocations: 112.9 kB / 1.171 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.6397, allocations: 127.2 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.6398, allocations: 180.2 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.6398, allocations: 180.3 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.836e-05/0.6399, allocations: 184.2 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.6402, allocations: 421.2 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/0.6402, allocations: 112.9 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.6402, allocations: 105 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/0.6403, allocations: 180.3 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.6404, allocations: 184.1 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.379e-05/0.6405, allocations: 180.3 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.759e-05/0.6405, allocations: 184.2 kB / 1.173 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.6407, allocations: 315.7 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.6408, allocations: 186 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.6408, allocations: 184.2 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.6409, allocations: 109 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.641, allocations: 188.2 kB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.6411, allocations: 104.9 kB / 1.174 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.325e-05/0.6411, allocations: 117.9 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6411, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002685/0.6414, allocations: 28 kB / 1.175 GB, free: 10.46 MB / 0.9044 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.0004396/0.6419, allocations: 0.8246 MB / 1.175 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.642, allocations: 71.78 kB / 1.175 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.642, allocations: 9.25 kB / 1.175 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.642, allocations: 0 / 1.175 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.6424, allocations: 473.9 kB / 1.176 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.6428, allocations: 275.5 kB / 1.176 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.6431, allocations: 0.689 MB / 1.177 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.6432, allocations: 56.59 kB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.6433, allocations: 19.44 kB / 1.177 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.6433, allocations: 4 kB / 1.177 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.519/6.162, allocations: 2.943 MB / 1.18 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/18.93, allocations: 14.36 kB / 1.18 GB, free: 5.141 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches