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.009163/0.009163, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.00215/0.00215, allocations: 203.2 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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.613/2.613, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2704, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001801/0.2722, allocations: 0.6034 MB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.2725, allocations: 71.78 kB / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.2726, allocations: 0 / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.2726, allocations: 0 / 1.167 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.2727, allocations: 7.938 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.273, allocations: 39.94 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.2731, allocations: 31.91 kB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2731, allocations: 7.984 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.2732, allocations: 15.94 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2734, allocations: 71.86 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2734, allocations: 0 / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2735, allocations: 31.97 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.2735, allocations: 19.92 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.2736, allocations: 19.88 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2737, allocations: 67.8 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2737, allocations: 0 / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2737, allocations: 0 / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2737, allocations: 4 kB / 1.167 GB, free: 6.305 MB / 0.92 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.0003439/0.2741, allocations: 362.3 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2741, allocations: 8.031 kB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.2742, allocations: 42.73 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.2742, allocations: 8.844 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.2743, allocations: 169.1 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2743, allocations: 8.359 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.2743, allocations: 384 / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2746, allocations: 193.2 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2746, allocations: 3.938 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2746, allocations: 4 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.2747, allocations: 19.98 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.2747, allocations: 43.84 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.2754, allocations: 0.8946 MB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.532e-05/0.2755, allocations: 173.4 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.2756, allocations: 84.17 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2756, allocations: 75.28 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.2756, allocations: 113.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.2756, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.265e-05/0.2757, allocations: 33.61 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.2759, allocations: 399.6 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2761, allocations: 164.1 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2761, allocations: 33.7 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.2762, allocations: 147.1 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-06/0.2762, allocations: 4 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.2763, allocations: 53.61 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2764, allocations: 326.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.2765, allocations: 23.98 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2767, allocations: 218.5 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.2768, allocations: 201.8 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2769, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003152/0.2772, allocations: 189.4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2772, allocations: 10.12 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2772, allocations: 7.938 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2772, allocations: 11.94 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2774, allocations: 43.92 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2774, allocations: 15.92 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.2775, allocations: 27.78 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2775, allocations: 8 kB / 1.171 GB, free: 1.762 MB / 0.92 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.0001167/0.2776, allocations: 217.3 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.2777, allocations: 112.9 kB / 1.171 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.2778, allocations: 116.7 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/0.2779, allocations: 180.2 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.901e-05/0.2779, allocations: 184.2 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.278, allocations: 184.3 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2783, allocations: 421.2 kB / 1.172 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.2783, allocations: 112.9 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.2784, allocations: 101 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.2784, allocations: 180.2 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.2785, allocations: 184.2 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.89e-05/0.2786, allocations: 180.3 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-05/0.2786, allocations: 184.2 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2788, allocations: 311.7 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.2789, allocations: 186 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.279, allocations: 196.1 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.2791, allocations: 105.3 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.2791, allocations: 180.3 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.2792, allocations: 104.9 kB / 1.174 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.657e-05/0.2793, allocations: 113.5 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003459/0.2796, allocations: 32 kB / 1.175 GB, free: 14.03 MB / 0.9356 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.0004395/0.2801, allocations: 0.8321 MB / 1.175 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.2802, allocations: 80.66 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2802, allocations: 0 / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.2802, allocations: 4 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2806, allocations: 471.7 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.2813, allocations: 274.8 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2816, allocations: 0.6929 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.2819, allocations: 60.58 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.2819, allocations: 19.44 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2819, allocations: 0 / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.303, allocations: 2.93 MB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.255, allocations: 4.656 kB / 1.18 GB, free: 8.707 MB / 0.9356 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=50 --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