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.001006/0.001006, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001259/0.00126, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.41 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.37/2.37, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6736, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000786/0.6744, allocations: 338.8 kB / 0.9542 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.6747, allocations: 73.7 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.6747, allocations: 1.656 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.6748, allocations: 0 / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.6748, allocations: 3.031 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.6751, allocations: 37.64 kB / 0.9543 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.6751, allocations: 22.38 kB / 0.9543 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.6752, allocations: 1.625 kB / 0.9543 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.6752, allocations: 19 kB / 0.9543 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.6754, allocations: 80.72 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.6754, allocations: 1.094 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.6755, allocations: 29.12 kB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.6756, allocations: 19.98 kB / 0.9545 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.6756, allocations: 33.92 kB / 0.9545 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.6757, allocations: 38.62 kB / 0.9545 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6757, allocations: 4 kB / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6757, allocations: 0 / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.6757, allocations: 0 / 0.9545 GB, free: 7.617 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.0002749/0.676, allocations: 345 kB / 0.9549 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6761, allocations: 13.59 kB / 0.9549 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.6761, allocations: 42.23 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.6762, allocations: 16.08 kB / 0.9549 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.6762, allocations: 168 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6763, allocations: 1.156 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.6763, allocations: 6 kB / 0.9551 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.6765, allocations: 179.6 kB / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6765, allocations: 1.219 kB / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6766, allocations: 5.141 kB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.6766, allocations: 23.98 kB / 0.9553 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.6767, allocations: 47.83 kB / 0.9553 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.6772, allocations: 0.8954 MB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.6773, allocations: 173.1 kB / 0.9564 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.6773, allocations: 85.58 kB / 0.9565 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.6773, allocations: 75.28 kB / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6773, allocations: 111.2 kB / 0.9566 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6773, allocations: 1.062 kB / 0.9566 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.127e-05/0.6774, allocations: 39.17 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.6775, allocations: 389.8 kB / 0.9571 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6776, allocations: 169 kB / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.6776, allocations: 30.8 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.6777, allocations: 145.4 kB / 0.9574 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.6777, allocations: 9.297 kB / 0.9574 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.6777, allocations: 0 / 0.9574 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.6778, allocations: 317.4 kB / 0.9577 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.6778, allocations: 28.69 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.6779, allocations: 220.6 kB / 0.9579 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.678, allocations: 68.03 kB / 0.958 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.678, allocations: 1.125 kB / 0.958 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002701/0.6783, allocations: 187.5 kB / 0.9582 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6783, allocations: 7.75 kB / 0.9582 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6783, allocations: 8.141 kB / 0.9582 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6784, allocations: 10.62 kB / 0.9582 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6785, allocations: 39.14 kB / 0.9582 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.6785, allocations: 10.36 kB / 0.9582 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.6786, allocations: 25.94 kB / 0.9583 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.6786, allocations: 10.53 kB / 0.9583 GB, free: 3.863 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 8.7e-05/0.6787, allocations: 219.4 kB / 0.9585 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.6788, allocations: 114.3 kB / 0.9586 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.6788, allocations: 117.1 kB / 0.9587 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.6788, allocations: 177.3 kB / 0.9589 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.6789, allocations: 186.6 kB / 0.9591 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.6789, allocations: 181.2 kB / 0.9592 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.679, allocations: 428.4 kB / 0.9596 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.679, allocations: 106 kB / 0.9597 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.6791, allocations: 105 kB / 0.9598 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.6791, allocations: 185.2 kB / 0.96 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.6791, allocations: 181.5 kB / 0.9602 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-05/0.6791, allocations: 185.5 kB / 0.9604 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-05/0.6792, allocations: 181.3 kB / 0.9605 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.194e-05/0.6793, allocations: 316.3 kB / 0.9608 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.6793, allocations: 184.3 kB / 0.961 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.6793, allocations: 194.3 kB / 0.9612 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.6794, allocations: 108.6 kB / 0.9613 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.6794, allocations: 181.4 kB / 0.9615 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.6795, allocations: 102 kB / 0.9616 GB, free: 332 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.6795, allocations: 116.6 kB / 0.9617 GB, free: 240 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6795, allocations: 0 / 0.9617 GB, free: 240 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003097/0.6798, allocations: 30.48 kB / 0.9617 GB, free: 232 kB / 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.0004467/0.6803, allocations: 0.8323 MB / 0.9625 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.6804, allocations: 72.06 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6805, allocations: 1.406 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.6805, allocations: 7.984 kB / 0.9626 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6808, allocations: 0.5283 MB / 0.9631 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.6813, allocations: 284 kB / 0.9634 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.6815, allocations: 0.6913 MB / 0.9641 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.6817, allocations: 56.44 kB / 0.9641 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.6818, allocations: 21.66 kB / 0.9641 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.6818, allocations: 3.938 kB / 0.9641 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.6935, allocations: 2.771 MB / 0.9669 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.6937, allocations: 196.1 kB / 0.967 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.288, allocations: 4.844 kB / 0.967 GB, free: 12.27 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