Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_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.001052/0.001052, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0014/0.0014, allocations: 168.7 kB / 15.95 MB, free: 200 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.348/1.348, allocations: 223.2 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6634, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007039/0.6642, allocations: 333.6 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.6645, allocations: 67.88 kB / 0.9815 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.6645, allocations: 0 / 0.9815 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.6646, allocations: 7.938 kB / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.6646, allocations: 7.984 kB / 0.9815 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.6649, allocations: 35.95 kB / 0.9816 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.6649, allocations: 31.84 kB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.665, allocations: 0 / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.665, allocations: 15.98 kB / 0.9816 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.6652, allocations: 75.88 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6652, allocations: 0 / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.6654, allocations: 31.95 kB / 0.9817 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.6654, allocations: 19.98 kB / 0.9818 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.6654, allocations: 41.64 kB / 0.9818 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.6655, allocations: 43.86 kB / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6655, allocations: 4 kB / 0.9818 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6655, allocations: 0 / 0.9818 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.6656, allocations: 0 / 0.9818 GB, free: 5.539 MB / 0.7325 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.0002941/0.6659, allocations: 341.6 kB / 0.9822 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6659, allocations: 8.031 kB / 0.9822 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.666, allocations: 42.55 kB / 0.9822 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.666, allocations: 7.906 kB / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.6661, allocations: 171 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6661, allocations: 4 kB / 0.9824 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.6661, allocations: 4 kB / 0.9824 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.6664, allocations: 179.2 kB / 0.9826 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6664, allocations: 0 / 0.9826 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6664, allocations: 4 kB / 0.9826 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.6665, allocations: 27.97 kB / 0.9826 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.6665, allocations: 39.91 kB / 0.9826 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.6672, allocations: 0.9062 MB / 0.9835 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.6673, allocations: 169.1 kB / 0.9837 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.6673, allocations: 80.14 kB / 0.9838 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.6674, allocations: 75.28 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.6674, allocations: 121.8 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6674, allocations: 0 / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.6675, allocations: 29.7 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6676, allocations: 391.7 kB / 0.9843 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.6678, allocations: 166.5 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.6678, allocations: 25.7 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.6679, allocations: 155.3 kB / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.6679, allocations: 4 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6679, allocations: 4 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.668, allocations: 322.8 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.6681, allocations: 24.36 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.6682, allocations: 215.3 kB / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.6683, allocations: 70.33 kB / 0.9853 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6683, allocations: 7.938 kB / 0.9853 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000297/0.6686, allocations: 189.1 kB / 0.9855 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6687, allocations: 15.89 kB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6687, allocations: 4.656 kB / 0.9855 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6687, allocations: 8 kB / 0.9855 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.6688, allocations: 39.92 kB / 0.9855 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6688, allocations: 11.94 kB / 0.9855 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.6689, allocations: 27.75 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.669, allocations: 8 kB / 0.9856 GB, free: 1.281 MB / 0.7325 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 0.000114/0.6691, allocations: 217 kB / 0.9858 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.6691, allocations: 108.9 kB / 0.9859 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.6692, allocations: 120.7 kB / 0.986 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.6693, allocations: 184.3 kB / 0.9862 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-05/0.6693, allocations: 180.3 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.566e-05/0.6694, allocations: 184.2 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.6696, allocations: 417.2 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.6697, allocations: 104.9 kB / 0.987 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.6697, allocations: 105 kB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.613e-05/0.6698, allocations: 180.2 kB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.6698, allocations: 184.2 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.476e-05/0.6699, allocations: 184.2 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.394e-05/0.67, allocations: 180.2 kB / 0.9878 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.6701, allocations: 323.9 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.6702, allocations: 182.1 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.6703, allocations: 188.3 kB / 0.9885 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.6703, allocations: 104.9 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.6704, allocations: 184.2 kB / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6705, allocations: 112.9 kB / 0.9889 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.6705, allocations: 112.8 kB / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6705, allocations: 0 / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003109/0.6709, allocations: 28 kB / 0.989 GB, free: 13.55 MB / 0.7481 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.0004257/0.6713, allocations: 0.8321 MB / 0.9898 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.6714, allocations: 71.78 kB / 0.9899 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6714, allocations: 3.938 kB / 0.9899 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.6715, allocations: 5.312 kB / 0.9899 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.6718, allocations: 0.5302 MB / 0.9904 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.6723, allocations: 288 kB / 0.9907 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6725, allocations: 0.6932 MB / 0.9914 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.6727, allocations: 52.59 kB / 0.9914 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.6727, allocations: 31.36 kB / 0.9914 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.6727, allocations: 4 kB / 0.9914 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.685, allocations: 2.774 MB / 0.9942 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.6852, allocations: 192.8 kB / 0.9943 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.428, allocations: 0 / 0.9943 GB, free: 8.105 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat does not exist to compare? outputFormat=mat