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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.00116/0.001161, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001269/0.001269, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005542/0.0005545, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6842, allocations: 142.3 MB / 0.9536 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005768/0.6848, allocations: 335.8 kB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.6851, allocations: 73.73 kB / 0.954 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.6851, allocations: 1.406 kB / 0.954 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.6851, allocations: 0 / 0.954 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.6852, allocations: 4.031 kB / 0.954 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.6854, allocations: 36.3 kB / 0.954 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.6855, allocations: 17 kB / 0.954 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.6855, allocations: 1.688 kB / 0.954 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.6855, allocations: 23.52 kB / 0.9541 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.6857, allocations: 71.2 kB / 0.9541 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.6857, allocations: 1.062 kB / 0.9541 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.6858, allocations: 39.08 kB / 0.9542 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.6859, allocations: 20.45 kB / 0.9542 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.6859, allocations: 30.48 kB / 0.9542 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.686, allocations: 46.12 kB / 0.9543 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.686, allocations: 0 / 0.9543 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.686, allocations: 0 / 0.9543 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.686, allocations: 0 / 0.9543 GB, free: 7.891 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.0002267/0.6862, allocations: 356.1 kB / 0.9546 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6863, allocations: 13.59 kB / 0.9546 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.6863, allocations: 39.22 kB / 0.9547 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.6863, allocations: 15.28 kB / 0.9547 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.567e-05/0.6864, allocations: 164.5 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.6864, allocations: 1.375 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6864, allocations: 9.906 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.6866, allocations: 183.5 kB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6866, allocations: 0 / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6867, allocations: 6.984 kB / 0.955 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.6867, allocations: 21.67 kB / 0.955 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.6868, allocations: 40.77 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.6872, allocations: 0.899 MB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.6873, allocations: 170.5 kB / 0.9561 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.6873, allocations: 79.28 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.6873, allocations: 107.2 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.6873, allocations: 1.406 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.041e-05/0.6874, allocations: 39.39 kB / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.6875, allocations: 393 kB / 0.9567 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6876, allocations: 163.4 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.6876, allocations: 27.95 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.6877, allocations: 152 kB / 0.957 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/0.6877, allocations: 9.094 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.6877, allocations: 4.969 kB / 0.957 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.6877, allocations: 317.1 kB / 0.9574 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.6878, allocations: 32.31 kB / 0.9574 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.6879, allocations: 220.5 kB / 0.9576 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.407e-05/0.688, allocations: 61.41 kB / 0.9577 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.688, allocations: 1.125 kB / 0.9577 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002656/0.6882, allocations: 191.4 kB / 0.9578 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6883, allocations: 7 kB / 0.9578 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6883, allocations: 13.52 kB / 0.9579 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6883, allocations: 5.906 kB / 0.9579 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6884, allocations: 42.95 kB / 0.9579 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.6884, allocations: 6.406 kB / 0.9579 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.6885, allocations: 30.67 kB / 0.9579 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.6886, allocations: 10.03 kB / 0.9579 GB, free: 4.207 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.6886, allocations: 214.8 kB / 0.9581 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.6887, allocations: 123.4 kB / 0.9583 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.6887, allocations: 116.6 kB / 0.9584 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.6887, allocations: 177.2 kB / 0.9585 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/0.6888, allocations: 182.8 kB / 0.9587 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6888, allocations: 177.3 kB / 0.9589 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6889, allocations: 427.9 kB / 0.9593 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6889, allocations: 106 kB / 0.9594 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.689, allocations: 106.3 kB / 0.9595 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.689, allocations: 180.2 kB / 0.9597 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.689, allocations: 177.5 kB / 0.9598 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.689, allocations: 181.3 kB / 0.96 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/0.6891, allocations: 185.3 kB / 0.9602 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.304e-05/0.6891, allocations: 312 kB / 0.9605 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.6892, allocations: 188.4 kB / 0.9607 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.6892, allocations: 187 kB / 0.9608 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.6893, allocations: 111.9 kB / 0.961 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.6893, allocations: 185.6 kB / 0.9611 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.6893, allocations: 102.4 kB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.6894, allocations: 115.6 kB / 0.9613 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6894, allocations: 0.9688 kB / 0.9613 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003052/0.6897, allocations: 30.33 kB / 0.9614 GB, free: 0.582 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.69, allocations: 0.8266 MB / 0.9622 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.6902, allocations: 76.16 kB / 0.9622 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6902, allocations: 1.062 kB / 0.9623 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.6902, allocations: 0 / 0.9623 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.6905, allocations: 0.5386 MB / 0.9628 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.6909, allocations: 277.8 kB / 0.963 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.6912, allocations: 0.7032 MB / 0.9637 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.6914, allocations: 55.59 kB / 0.9638 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.6914, allocations: 22.95 kB / 0.9638 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6914, allocations: 0 / 0.9638 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.7038, allocations: 2.745 MB / 0.9665 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.704, allocations: 184.5 kB / 0.9667 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.238, allocations: 3.938 kB / 0.9667 GB, free: 12.64 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat does not exist to compare? outputFormat=mat