Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",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.001491/0.001491, allocations: 100 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.001851/0.001851, 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 2.494/2.494, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.549/4.549, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008365/0.0008368, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393/1.394, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002672/1.397, allocations: 1.175 MB / 0.982 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000566/1.397, allocations: 136.5 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/1.397, allocations: 0 / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.051e-05/1.398, allocations: 7.922 kB / 0.9822 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/1.398, allocations: 0 / 0.9822 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/1.398, allocations: 27.91 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/1.398, allocations: 27.91 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/1.398, allocations: 15.98 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/1.398, allocations: 11.94 kB / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/1.398, allocations: 15.92 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/1.399, allocations: 4 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/1.399, allocations: 23.97 kB / 0.9823 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/1.399, allocations: 7.938 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/1.399, allocations: 29.7 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/1.399, allocations: 39.92 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.399, allocations: 4 kB / 0.9824 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.685e-06/1.399, allocations: 0 / 0.9824 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.399, allocations: 0 / 0.9824 GB, free: 4.793 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007296/1.4, allocations: 365.5 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.4, allocations: 8.031 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/1.4, allocations: 30.56 kB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.402, allocations: 251.5 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/1.402, allocations: 163 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.402, allocations: 4 kB / 0.9831 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/1.402, allocations: 4 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/1.403, allocations: 213.4 kB / 0.9833 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.403, allocations: 0 / 0.9833 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/1.403, allocations: 7.984 kB / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.403, allocations: 0 / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.404, allocations: 319.6 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/1.406, allocations: 469.1 kB / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.407, allocations: 338.2 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/1.408, allocations: 0 / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/1.408, allocations: 34.56 kB / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/1.408, allocations: 3.938 kB / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001818/1.409, allocations: 369.4 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.41, allocations: 55.41 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.41, allocations: 118 kB / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/1.41, allocations: 29.7 kB / 0.985 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.41, allocations: 88.14 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/1.41, allocations: 8.188 kB / 0.9851 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/1.41, allocations: 0 / 0.9851 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002734/1.41, allocations: 326.8 kB / 0.9854 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/1.411, allocations: 111.9 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/1.411, allocations: 115.8 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/1.412, allocations: 107.8 kB / 0.9857 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.412, allocations: 0 / 0.9857 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001164/1.413, allocations: 253.5 kB / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.413, allocations: 5.719 kB / 0.986 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.413, allocations: 0 / 0.986 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.413, allocations: 0 / 0.986 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/1.414, allocations: 47.94 kB / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.414, allocations: 0 / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/1.414, allocations: 35.95 kB / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.414, allocations: 0 / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0002278/1.414, allocations: 125.8 kB / 0.9862 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/1.414, allocations: 7.906 kB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/1.414, allocations: 11.91 kB / 0.9862 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.414, allocations: 0 / 0.9862 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.414, allocations: 0 / 0.9862 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.414, allocations: 3.984 kB / 0.9862 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/1.415, allocations: 217.3 kB / 0.9864 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.415, allocations: 3.984 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/1.415, allocations: 47.89 kB / 0.9865 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.415, allocations: 0 / 0.9865 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.415, allocations: 0 / 0.9865 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.415, allocations: 4 kB / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.415, allocations: 0 / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/1.417, allocations: 355.2 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/1.417, allocations: 81.11 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/1.417, allocations: 0 / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/1.417, allocations: 39.95 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/1.417, allocations: 7.984 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.417, allocations: 0 / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.017e-05/1.417, allocations: 95.27 kB / 0.987 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.357e-06/1.417, allocations: 0 / 0.987 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000486/1.418, allocations: 15.94 kB / 0.987 GB, free: 15.67 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 (3): * Single equations (assignments): 3 * 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.001752/1.42, allocations: 0.8843 MB / 0.9879 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.421, allocations: 236.1 kB / 0.9881 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.421, allocations: 4 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006677/1.422, allocations: 115.8 kB / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.422, allocations: 8 kB / 0.9882 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/1.426, allocations: 0.9046 MB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/1.426, allocations: 0.6926 MB / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001552/1.426, allocations: 19.98 kB / 0.9898 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.427, allocations: 23.42 kB / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.783e-06/1.427, allocations: 0 / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/1.449, allocations: 1.632 MB / 0.9914 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004658/1.45, allocations: 175 kB / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/4.516, allocations: 0 / 0.9916 GB, free: 10.95 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat does not exist to compare? outputFormat=mat