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.001204/0.001205, allocations: 100.1 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.001225/0.001225, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.589/2.589, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.06/5.06, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005556/0.0005558, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421/1.422, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001175/1.423, allocations: 333.6 kB / 0.9812 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000491/1.424, allocations: 67.89 kB / 0.9813 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/1.424, allocations: 3.938 kB / 0.9813 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/1.424, allocations: 7.922 kB / 0.9813 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/1.424, allocations: 4 kB / 0.9813 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/1.424, allocations: 35.95 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/1.424, allocations: 23.97 kB / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/1.424, allocations: 0 / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/1.424, allocations: 19.98 kB / 0.9813 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/1.425, allocations: 75.84 kB / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/1.425, allocations: 0 / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/1.425, allocations: 31.97 kB / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/1.425, allocations: 19.92 kB / 0.9815 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/1.425, allocations: 29.7 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/1.425, allocations: 43.94 kB / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.425, allocations: 0 / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.556e-06/1.425, allocations: 4 kB / 0.9815 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.425, allocations: 0 / 0.9815 GB, free: 5.594 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.0005827/1.426, allocations: 341.6 kB / 0.9819 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/1.426, allocations: 12.03 kB / 0.9819 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/1.426, allocations: 38.56 kB / 0.9819 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/1.426, allocations: 7.906 kB / 0.9819 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/1.426, allocations: 170.9 kB / 0.9821 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/1.426, allocations: 3.984 kB / 0.9821 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/1.426, allocations: 4 kB / 0.9821 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/1.427, allocations: 183.2 kB / 0.9823 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.427, allocations: 3.938 kB / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.427, allocations: 0 / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/1.427, allocations: 27.97 kB / 0.9823 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/1.427, allocations: 39.84 kB / 0.9823 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.428, allocations: 0.8945 MB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/1.428, allocations: 177 kB / 0.9834 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/1.428, allocations: 83.27 kB / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.954e-05/1.428, allocations: 117.8 kB / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.428, allocations: 0 / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.00011/1.429, allocations: 33.7 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/1.429, allocations: 395.7 kB / 0.984 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/1.429, allocations: 170.1 kB / 0.9841 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/1.429, allocations: 29.7 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.429, allocations: 147.3 kB / 0.9843 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/1.429, allocations: 0 / 0.9843 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.429, allocations: 4 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.429, allocations: 318.8 kB / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/1.43, allocations: 28.34 kB / 0.9846 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/1.43, allocations: 219.3 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/1.43, allocations: 66.23 kB / 0.9849 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.43, allocations: 4 kB / 0.9849 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004575/1.43, allocations: 189.4 kB / 0.9851 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.431, allocations: 8 kB / 0.9851 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.431, allocations: 7.953 kB / 0.9851 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.431, allocations: 8 kB / 0.9851 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/1.431, allocations: 35.92 kB / 0.9852 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/1.431, allocations: 15.92 kB / 0.9852 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/1.431, allocations: 27.75 kB / 0.9852 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/1.431, allocations: 8 kB / 0.9852 GB, free: 1.414 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.0001996/1.431, allocations: 221.3 kB / 0.9854 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.62e-05/1.431, allocations: 108.9 kB / 0.9855 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/1.431, allocations: 116.8 kB / 0.9856 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/1.432, allocations: 188.2 kB / 0.9858 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.005e-05/1.432, allocations: 180.2 kB / 0.986 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.702e-05/1.432, allocations: 180.3 kB / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/1.432, allocations: 417.2 kB / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.342e-05/1.432, allocations: 108.9 kB / 0.9867 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/1.432, allocations: 101 kB / 0.9868 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/1.432, allocations: 180.2 kB / 0.9869 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/1.432, allocations: 184.3 kB / 0.9871 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.954e-05/1.433, allocations: 184.3 kB / 0.9873 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.054e-05/1.433, allocations: 192.2 kB / 0.9875 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/1.433, allocations: 311.6 kB / 0.9878 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/1.433, allocations: 190.3 kB / 0.9879 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.433, allocations: 192.2 kB / 0.9881 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.433, allocations: 105 kB / 0.9882 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.433, allocations: 184.2 kB / 0.9884 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/1.434, allocations: 108.9 kB / 0.9885 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001283/1.434, allocations: 113.1 kB / 0.9886 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.434, allocations: 0 / 0.9886 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005314/1.434, allocations: 28 kB / 0.9886 GB, free: 13.68 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.0007637/1.435, allocations: 0.8204 MB / 0.9894 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002447/1.435, allocations: 80.66 kB / 0.9895 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.435, allocations: 0 / 0.9895 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/1.435, allocations: 0 / 0.9895 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/1.436, allocations: 0.5316 MB / 0.99 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/1.437, allocations: 284.5 kB / 0.9903 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/1.437, allocations: 0.6971 MB / 0.991 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003476/1.438, allocations: 56.58 kB / 0.991 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/1.438, allocations: 27.42 kB / 0.9911 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/1.438, allocations: 0 / 0.9911 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/1.459, allocations: 2.754 MB / 0.9938 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.459, allocations: 201.6 kB / 0.9939 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/4.296, allocations: 0 / 0.9939 GB, free: 8.254 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