Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_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.004993/0.004993, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001229/0.001229, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.165/1.165, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.996/1.996, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5876, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001315/0.589, allocations: 0.598 MB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.5893, allocations: 66.39 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.5893, allocations: 1.188 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.5893, allocations: 4.516 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.5894, allocations: 13.64 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.5896, allocations: 39.86 kB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.5897, allocations: 26 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.5897, allocations: 7.344 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.5898, allocations: 12.34 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.5899, allocations: 60.94 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.5899, allocations: 1.469 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.59, allocations: 43.28 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.5901, allocations: 20 kB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.5901, allocations: 22.72 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.5902, allocations: 67.38 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5902, allocations: 0.5625 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5902, allocations: 1.156 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5902, allocations: 0 / 1.088 GB, free: 4.746 MB / 0.8575 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.0002206/0.5904, allocations: 364.2 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5905, allocations: 10 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.5905, allocations: 37.09 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.5905, allocations: 4.781 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.103e-05/0.5906, allocations: 179.3 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.5906, allocations: 1.094 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.5906, allocations: 2.5 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5908, allocations: 178.5 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5908, allocations: 1.75 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5908, allocations: 6.219 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.5909, allocations: 24.44 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.591, allocations: 40.67 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.5914, allocations: 0.9037 MB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.921e-05/0.5914, allocations: 179.9 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.5914, allocations: 80.14 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5915, allocations: 75.28 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.5915, allocations: 112.7 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5915, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.033e-05/0.5915, allocations: 41.28 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.5916, allocations: 390 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5917, allocations: 167.6 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.5917, allocations: 26.64 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.5918, allocations: 146.5 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.5918, allocations: 3.266 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.5919, allocations: 60.14 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.592, allocations: 324.1 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.592, allocations: 25.58 kB / 1.092 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.5921, allocations: 225.3 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5922, allocations: 197.8 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5922, allocations: 1.969 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002618/0.5925, allocations: 192.1 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5925, allocations: 6.594 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5925, allocations: 5.922 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5926, allocations: 9.812 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5927, allocations: 46.89 kB / 1.092 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5927, allocations: 14.86 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.5928, allocations: 27.09 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5928, allocations: 9.75 kB / 1.092 GB, free: 16.91 MB / 0.8731 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.0001091/0.5929, allocations: 215.8 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.593, allocations: 115.3 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.593, allocations: 119.1 kB / 1.093 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/0.5931, allocations: 181.6 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.531e-05/0.5931, allocations: 182.8 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.426e-05/0.5932, allocations: 177 kB / 1.093 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.5934, allocations: 422.3 kB / 1.094 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.5934, allocations: 102.4 kB / 1.094 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.5934, allocations: 111.4 kB / 1.094 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.523e-05/0.5935, allocations: 181.9 kB / 1.094 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.5935, allocations: 181.5 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/0.5936, allocations: 189.8 kB / 1.094 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.163e-05/0.5936, allocations: 177.9 kB / 1.095 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.5937, allocations: 313.8 kB / 1.095 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.5938, allocations: 189.7 kB / 1.095 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.5939, allocations: 188.2 kB / 1.095 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.594, allocations: 103.9 kB / 1.095 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.594, allocations: 182.5 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.594, allocations: 106.6 kB / 1.096 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.5941, allocations: 116.9 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5941, allocations: 0 / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002862/0.5944, allocations: 34.55 kB / 1.096 GB, free: 13.31 MB / 0.8731 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.000339/0.5948, allocations: 0.8355 MB / 1.097 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.5949, allocations: 71.64 kB / 1.097 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5949, allocations: 1.531 kB / 1.097 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5949, allocations: 1.312 kB / 1.097 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.5952, allocations: 472.3 kB / 1.097 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.5956, allocations: 274.1 kB / 1.097 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.5958, allocations: 0.6922 MB / 1.098 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.596, allocations: 58.52 kB / 1.098 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.596, allocations: 24.61 kB / 1.098 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.596, allocations: 0 / 1.098 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.792/2.388, allocations: 2.932 MB / 1.101 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/9.825, allocations: 17.61 kB / 1.101 GB, free: 10.55 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches