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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001322/0.001322, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001448/0.001448, allocations: 195.6 kB / 16.14 MB, free: 6.719 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5724/0.5738, allocations: 140.4 MB / 0.9491 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001546/0.5754, allocations: 0.6656 MB / 0.9497 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002693/0.5757, allocations: 71.59 kB / 0.9498 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.5757, allocations: 0 / 0.9498 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.5757, allocations: 7.922 kB / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.5758, allocations: 11.81 kB / 0.9498 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.576, allocations: 32.61 kB / 0.9498 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.576, allocations: 26.16 kB / 0.9499 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.5761, allocations: 6.734 kB / 0.9499 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.5761, allocations: 10.78 kB / 0.9499 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.5763, allocations: 70.27 kB / 0.9499 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5763, allocations: 1.375 kB / 0.9499 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.5764, allocations: 36.41 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.5764, allocations: 25.59 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.5764, allocations: 22.69 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.5765, allocations: 68.53 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5766, allocations: 1.375 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.41e-07/0.5766, allocations: 0 / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.5766, allocations: 0 / 0.9501 GB, free: 8.305 MB / 0.7169 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.0002307/0.5768, allocations: 361 kB / 0.9504 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5768, allocations: 9.625 kB / 0.9504 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.5769, allocations: 38.88 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.5769, allocations: 12.95 kB / 0.9505 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.149e-05/0.577, allocations: 173.6 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.577, allocations: 1.75 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.577, allocations: 5.734 kB / 0.9507 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5772, allocations: 171 kB / 0.9508 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5772, allocations: 9.297 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5772, allocations: 1.375 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.5772, allocations: 23.11 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.5773, allocations: 36.47 kB / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.5777, allocations: 0.9065 MB / 0.9518 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.5778, allocations: 170.4 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.5778, allocations: 80.14 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.5778, allocations: 80.09 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5778, allocations: 116.2 kB / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5778, allocations: 0 / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.188e-05/0.5779, allocations: 35.77 kB / 0.9522 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5779, allocations: 385.1 kB / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.5781, allocations: 168.8 kB / 0.9528 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.5781, allocations: 28.3 kB / 0.9528 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5781, allocations: 144.3 kB / 0.9529 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.5781, allocations: 13.27 kB / 0.9529 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.5782, allocations: 52.52 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.5782, allocations: 321.2 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.5783, allocations: 40.34 kB / 0.9533 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.5784, allocations: 219.2 kB / 0.9535 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.5785, allocations: 205.2 kB / 0.9537 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5785, allocations: 2.594 kB / 0.9537 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002421/0.5788, allocations: 191.8 kB / 0.9539 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5788, allocations: 6.562 kB / 0.9539 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5788, allocations: 5.25 kB / 0.9539 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5788, allocations: 10.28 kB / 0.9539 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5789, allocations: 46.3 kB / 0.954 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5789, allocations: 10.94 kB / 0.954 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.579, allocations: 21.94 kB / 0.954 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.579, allocations: 13.62 kB / 0.954 GB, free: 4.32 MB / 0.7169 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 7.12e-05/0.5791, allocations: 211.5 kB / 0.9542 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.5792, allocations: 115.1 kB / 0.9543 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.5792, allocations: 124.7 kB / 0.9545 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5792, allocations: 182 kB / 0.9546 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.5792, allocations: 176.3 kB / 0.9548 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.5793, allocations: 185.3 kB / 0.955 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.5794, allocations: 420.5 kB / 0.9554 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.5794, allocations: 105.8 kB / 0.9555 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.5794, allocations: 106.2 kB / 0.9556 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.5795, allocations: 185.2 kB / 0.9558 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.5795, allocations: 185.3 kB / 0.9559 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.5795, allocations: 182.9 kB / 0.9561 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/0.5795, allocations: 180.2 kB / 0.9563 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.329e-05/0.5796, allocations: 315.8 kB / 0.9566 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.5796, allocations: 185.1 kB / 0.9568 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.5797, allocations: 182.5 kB / 0.9569 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.5797, allocations: 112 kB / 0.957 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.5798, allocations: 181.2 kB / 0.9572 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5798, allocations: 109.9 kB / 0.9573 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.5798, allocations: 113.8 kB / 0.9574 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5798, allocations: 0 / 0.9574 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002934/0.5801, allocations: 25.97 kB / 0.9575 GB, free: 0.6953 MB / 0.7169 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.0002856/0.5804, allocations: 0.8371 MB / 0.9583 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.5806, allocations: 75.53 kB / 0.9583 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5806, allocations: 0 / 0.9583 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.5806, allocations: 6.281 kB / 0.9584 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5809, allocations: 0.5341 MB / 0.9589 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.5814, allocations: 283.5 kB / 0.9591 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.5816, allocations: 0.6953 MB / 0.9598 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.5818, allocations: 51.42 kB / 0.9599 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.5818, allocations: 27.23 kB / 0.9599 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.5818, allocations: 4 kB / 0.9599 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7432/1.325, allocations: 2.87 MB / 0.9627 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.325, allocations: 212.2 kB / 0.9629 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.985, allocations: 0 / 0.9629 GB, free: 12.61 MB / 0.7325 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