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.00823/0.00823, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001958/0.001958, allocations: 197 kB / 16.67 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 68.86 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3234, allocations: 140.4 MB / 1.088 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002434/0.3259, allocations: 0.6028 MB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004345/0.3264, allocations: 67.84 kB / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3265, allocations: 0 / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.3266, allocations: 3.938 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3266, allocations: 4 kB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.3271, allocations: 51.88 kB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3272, allocations: 23.97 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.76e-05/0.3272, allocations: 0 / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.3273, allocations: 15.98 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3275, allocations: 67.88 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3276, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.3277, allocations: 39.95 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.3278, allocations: 27.86 kB / 1.088 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.3278, allocations: 11.88 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.328, allocations: 67.8 kB / 1.088 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.328, allocations: 0 / 1.088 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.835e-06/0.328, allocations: 0 / 1.088 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.328, allocations: 0 / 1.088 GB, free: 0.9219 MB / 0.8419 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.0004679/0.3285, allocations: 371.9 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3286, allocations: 12.03 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.3286, allocations: 42.73 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.3287, allocations: 4.938 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3288, allocations: 173.1 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3289, allocations: 384 / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3289, allocations: 8.359 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.3292, allocations: 175.3 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3292, allocations: 7.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3292, allocations: 3.984 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/0.3293, allocations: 19.98 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.3294, allocations: 35.91 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.3301, allocations: 0.9062 MB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.3303, allocations: 169.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.3303, allocations: 88.17 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3303, allocations: 79.28 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/0.3304, allocations: 109.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3304, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001049/0.3305, allocations: 41.61 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.3307, allocations: 387.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3309, allocations: 164.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3309, allocations: 37.64 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.331, allocations: 151.1 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.331, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.3312, allocations: 53.61 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3313, allocations: 326.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.3314, allocations: 23.98 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3316, allocations: 225.3 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3319, allocations: 193.7 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3319, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003768/0.3323, allocations: 181.8 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3323, allocations: 12.03 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3324, allocations: 4 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.3324, allocations: 11.94 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3326, allocations: 39.92 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.3326, allocations: 11.92 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3327, allocations: 31.69 kB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3327, allocations: 12 kB / 1.092 GB, free: 12.38 MB / 0.8575 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.0002011/0.3329, allocations: 213 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.3331, allocations: 116.9 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/0.3332, allocations: 116.9 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.781e-05/0.3333, allocations: 184.1 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-05/0.3333, allocations: 180.2 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/0.3335, allocations: 180.2 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3338, allocations: 425.2 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.686e-05/0.3339, allocations: 106.4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.334, allocations: 108.9 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.3341, allocations: 176.3 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.3342, allocations: 188.1 kB / 1.094 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.3343, allocations: 176.3 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001145/0.3344, allocations: 188.2 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.3347, allocations: 311.7 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3348, allocations: 189.9 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3349, allocations: 184.2 kB / 1.095 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3351, allocations: 117.2 kB / 1.095 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3352, allocations: 180.3 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.3352, allocations: 105 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.834e-05/0.3353, allocations: 119.2 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.704e-06/0.3354, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004217/0.3358, allocations: 27.94 kB / 1.096 GB, free: 8.633 MB / 0.8575 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.0006838/0.3365, allocations: 0.8326 MB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3367, allocations: 72.78 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3367, allocations: 320 / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/0.3367, allocations: 11.94 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.3372, allocations: 467.7 kB / 1.097 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.3379, allocations: 274.5 kB / 1.097 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.3383, allocations: 0.6929 MB / 1.098 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002751/0.3386, allocations: 52.59 kB / 1.098 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.3387, allocations: 23.44 kB / 1.098 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/0.3387, allocations: 0 / 1.098 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.3595, allocations: 2.953 MB / 1.101 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.989, allocations: 13.5 kB / 1.101 GB, free: 3.289 MB / 0.8575 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