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.0009803/0.0009803, allocations: 86.8 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.001718/0.001719, 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.587/1.587, allocations: 223.2 MB / 240 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 2.64/2.64, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003766, allocations: 11.94 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7764, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001853/0.7783, allocations: 1.457 MB / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.7792, allocations: 0.6129 MB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.7793, allocations: 0 / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.7793, allocations: 7.922 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.7794, allocations: 19.86 kB / 0.9832 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.7799, allocations: 142.5 kB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.78, allocations: 107.6 kB / 0.9834 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.7802, allocations: 45.25 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.7803, allocations: 39.86 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.7804, allocations: 39.83 kB / 0.9835 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.7804, allocations: 4 kB / 0.9835 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.7805, allocations: 39.91 kB / 0.9836 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.7805, allocations: 23.95 kB / 0.9836 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.7806, allocations: 41.64 kB / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.7807, allocations: 98.02 kB / 0.9837 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7807, allocations: 0 / 0.9837 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7807, allocations: 0 / 0.9837 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.7807, allocations: 0 / 0.9837 GB, free: 3.59 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.000554/0.7813, allocations: 422.8 kB / 0.9841 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7813, allocations: 8.031 kB / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.259e-05/0.7814, allocations: 46.53 kB / 0.9842 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.7822, allocations: 139.6 kB / 0.9843 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.7823, allocations: 178.9 kB / 0.9845 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.7824, allocations: 71.34 kB / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.7825, allocations: 12 kB / 0.9846 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.783, allocations: 191.2 kB / 0.9848 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.783, allocations: 0 / 0.9848 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.783, allocations: 4 kB / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.783, allocations: 0 / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.7836, allocations: 195.8 kB / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.7847, allocations: 0.494 MB / 0.9854 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.7856, allocations: 266.3 kB / 0.9857 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.7859, allocations: 100.9 kB / 0.9858 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.7859, allocations: 0 / 0.9858 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.786, allocations: 42.5 kB / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/0.786, allocations: 0 / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0009798/0.787, allocations: 313.5 kB / 0.9861 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.787, allocations: 59.34 kB / 0.9862 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.7871, allocations: 139.4 kB / 0.9863 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.7872, allocations: 29.64 kB / 0.9863 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.7872, allocations: 116.1 kB / 0.9864 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.7873, allocations: 19.72 kB / 0.9865 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.7873, allocations: 0 / 0.9865 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7874, allocations: 322.8 kB / 0.9868 GB, free: 244 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.7877, allocations: 87.92 kB / 0.9869 GB, free: 156 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.788, allocations: 114.5 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.7883, allocations: 96.12 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7883, allocations: 0 / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006035/0.7889, allocations: 245.4 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7889, allocations: 4 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.7889, allocations: 4 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7889, allocations: 0 / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.7892, allocations: 47.94 kB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7892, allocations: 4 kB / 0.9874 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.7894, allocations: 31.91 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.7894, allocations: 4 kB / 0.9874 GB, free: 15.6 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.00013/0.7895, allocations: 121.8 kB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.7896, allocations: 15.84 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.7902, allocations: 242.2 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7902, allocations: 0 / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7903, allocations: 0 / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7903, allocations: 0 / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.7906, allocations: 230.1 kB / 0.988 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7906, allocations: 0 / 0.988 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.7908, allocations: 43.94 kB / 0.988 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.7908, allocations: 7.953 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7908, allocations: 8 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7909, allocations: 0 / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7909, allocations: 0 / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.7915, allocations: 323.2 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.7916, allocations: 81.02 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.7916, allocations: 3.953 kB / 0.9884 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.7919, allocations: 44.14 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.7919, allocations: 23.91 kB / 0.9885 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.792, allocations: 7.984 kB / 0.9885 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.792, allocations: 105.7 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7921, allocations: 0 / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002656/0.7923, allocations: 23.94 kB / 0.9886 GB, free: 14.24 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.0009765/0.7933, allocations: 0.8566 MB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.7939, allocations: 199.8 kB / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.794, allocations: 0 / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.7943, allocations: 104 kB / 0.9897 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.7946, allocations: 8.844 kB / 0.9897 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.7966, allocations: 0.927 MB / 0.9906 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.7969, allocations: 0.6965 MB / 0.9913 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.797, allocations: 16.19 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.7971, allocations: 31.42 kB / 0.9914 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7971, allocations: 4 kB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.8088, allocations: 2.405 MB / 0.9937 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.809, allocations: 181.9 kB / 0.9939 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.613, allocations: 4 kB / 0.9939 GB, free: 8.797 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