Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",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.001496/0.001496, allocations: 99.55 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.001721/0.001722, 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.514/2.514, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.207/4.207, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005245, allocations: 15.98 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499/1.5, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003316/1.503, allocations: 1.442 MB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001711/1.505, allocations: 0.5896 MB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/1.505, allocations: 0 / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/1.505, allocations: 11.92 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/1.505, allocations: 11.97 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/1.506, allocations: 165.3 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/1.506, allocations: 71.84 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/1.507, allocations: 45.25 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/1.507, allocations: 43.84 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/1.507, allocations: 35.84 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/1.507, allocations: 7.938 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/1.507, allocations: 39.95 kB / 0.9833 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/1.507, allocations: 15.97 kB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/1.507, allocations: 37.64 kB / 0.9833 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/1.507, allocations: 94.08 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.508, allocations: 4 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.776e-06/1.508, allocations: 0 / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.508, allocations: 0 / 0.9834 GB, free: 3.668 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001003/1.509, allocations: 420.6 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/1.509, allocations: 8.031 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/1.509, allocations: 42.55 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/1.51, allocations: 151.6 kB / 0.984 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/1.511, allocations: 178.9 kB / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/1.511, allocations: 67.34 kB / 0.9842 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/1.511, allocations: 8 kB / 0.9842 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/1.512, allocations: 189.5 kB / 0.9844 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.512, allocations: 7.938 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/1.512, allocations: 4 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/1.512, allocations: 4 kB / 0.9844 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/1.513, allocations: 191.8 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.515, allocations: 0.4901 MB / 0.9851 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/1.517, allocations: 270.3 kB / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/1.517, allocations: 3.984 kB / 0.9854 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.517, allocations: 38.62 kB / 0.9854 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/1.517, allocations: 0 / 0.9854 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.002075/1.519, allocations: 317.5 kB / 0.9857 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/1.519, allocations: 51.41 kB / 0.9857 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/1.519, allocations: 142.8 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/1.519, allocations: 25.7 kB / 0.9859 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.52, allocations: 112.1 kB / 0.986 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/1.52, allocations: 15.72 kB / 0.986 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/1.52, allocations: 4 kB / 0.986 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.52, allocations: 322.8 kB / 0.9863 GB, free: 432 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.521, allocations: 87.92 kB / 0.9864 GB, free: 344 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/1.521, allocations: 114.5 kB / 0.9865 GB, free: 220 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/1.522, allocations: 91.88 kB / 0.9866 GB, free: 128 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.522, allocations: 0 / 0.9866 GB, free: 128 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001307/1.523, allocations: 245.4 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.523, allocations: 4 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.523, allocations: 0 / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.523, allocations: 4 kB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/1.524, allocations: 47.89 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.524, allocations: 7.984 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/1.524, allocations: 31.91 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.524, allocations: 0 / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.000234/1.524, allocations: 125.8 kB / 0.9871 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/1.524, allocations: 15.86 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.526, allocations: 242.5 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.526, allocations: 3.984 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.526, allocations: 8.062 kB / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.526, allocations: 0 / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/1.526, allocations: 230.1 kB / 0.9875 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.526, allocations: 0 / 0.9875 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/1.527, allocations: 39.95 kB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/1.527, allocations: 7.938 kB / 0.9876 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/1.527, allocations: 4 kB / 0.9876 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.527, allocations: 8 kB / 0.9876 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.527, allocations: 0 / 0.9876 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/1.528, allocations: 323.2 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/1.528, allocations: 85.02 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/1.528, allocations: 3.953 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/1.529, allocations: 39.95 kB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/1.529, allocations: 11.98 kB / 0.988 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/1.529, allocations: 11.98 kB / 0.9881 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001367/1.529, allocations: 104.8 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.529, allocations: 0 / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000515/1.53, allocations: 19.94 kB / 0.9882 GB, free: 14.43 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 (6): * Single equations (assignments): 6 * 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.001769/1.531, allocations: 0.8528 MB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001228/1.533, allocations: 199.8 kB / 0.9892 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/1.533, allocations: 4 kB / 0.9892 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/1.533, allocations: 104 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/1.534, allocations: 4 kB / 0.9893 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.536, allocations: 0.8033 MB / 0.9901 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/1.536, allocations: 0.706 MB / 0.9908 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001983/1.536, allocations: 16.19 kB / 0.9908 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/1.536, allocations: 27.42 kB / 0.9908 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.536, allocations: 0 / 0.9908 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.558, allocations: 2.385 MB / 0.9931 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003867/1.559, allocations: 192.8 kB / 0.9933 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.542, allocations: 0 / 0.9933 GB, free: 9.102 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat does not exist to compare? outputFormat=mat